setup commands to allow running tests from project root instead of just builder package
This commit is contained in:
parent
b9e8319670
commit
e0e6be8aa3
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue