This project has the tests using Cypress for studio both local and test environments.
These instructions will get you run the integration tests on local studio.
yarn --immutable # only needed first time, or when dependencies are updated
The Prerequisites defined here must be satisfied to start the solution.
Run the development/setup.js
script as described here to set up test users and relevant test data.
The commands should be run in an order that makes sure the tests are intact on the subsequent runs.
Note: Use cmd or git bash to run the scripts.
- Setup: before all the tests
yarn run before:all
- Tests on different solutions of studio
yarn run test:all -e environment=local
- Cleanup: after all the tests
yarn run after:all
- To run a single test case open Cypress runner using
yarn run cy:open -e environment=local
yarn run prettier:check # For checking the files deviating standards
yarn run prettier:format # format and save the files based on config