-
Notifications
You must be signed in to change notification settings - Fork 35
Run the REDCap Cypress Test Suite
Adam De Fouw edited this page Sep 25, 2019
·
3 revisions
Most of your work in Cypress will be done in the Cypress Debug Window.
To launch it, issue the following command at your REDCap Cypress Test Suite folder:
npx cypress open
Note: Please change your directory to the REDCap Cypress Test Suite folder if you have not by issuing a command like the following:
cd /path/to/your/redcap_cypress/folder/
After your test suite is mature, it will be faster to run your tests in headless mode.
To do so, issue the following command:
npx cypress run
Note that headless mode is how the tests are always run in the Continuous Integration implementation.