This is documented in the README in the primary directory of our cypress tests.
The purpose of this test suite is to allow for testing of ad-hoc functionality within the Simorgh application, without affecting the tests which are executed as part of the End-to-End tests in both the Test and Live environments.
Environment | Command |
---|---|
local | CYPRESS_APP_ENV=local yarn cypress:adhoc |
test | CYPRESS_APP_ENV=test yarn cypress:adhoc |
live | CYPRESS_APP_ENV=live yarn cypress:adhoc |
As with the primary Cypress tests, the same environment variables can also be used with the cypress:adhoc
command