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 0c9baf92f8
commit c46e43cf77
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.
### 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

View File

@ -24,7 +24,8 @@
"test": "lerna run test",
"lint": "eslint 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": {
"@material/icon-button": "4.0.0",