setup commands to allow running tests from project root instead of just builder package

This commit is contained in:
kevmodrome 2020-06-09 15:39:50 +02:00
parent b9e8319670
commit e0e6be8aa3
2 changed files with 12 additions and 1 deletions

View File

@ -166,6 +166,16 @@ rm -rf ~/.budibase
``` ```
Follow from **Step 3. Install and Build** in the setup guide above. You should have a fresh Budibase installation. Follow from **Step 3. Install and Build** in the setup guide above. You should have a fresh Budibase installation.
### Running tests
#### End-to-end Tests
Budibase uses Cypress to run a number of E2E tests. To run the tests execute the following command:
```
yarn test:e2e
```
### Other Useful Information ### Other Useful Information

View File

@ -24,7 +24,8 @@
"test": "lerna run test", "test": "lerna run test",
"lint": "eslint packages", "lint": "eslint packages",
"lint:fix": "eslint --fix packages", "lint:fix": "eslint --fix packages",
"format": "prettier --write \"{,!(node_modules)/**/}*.{js,jsx,svelte}\"" "format": "prettier --write \"{,!(node_modules)/**/}*.{js,jsx,svelte}\"",
"test:e2e": "lerna run cy:test"
}, },
"dependencies": { "dependencies": {
"@material/icon-button": "4.0.0", "@material/icon-button": "4.0.0",