Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 976 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 976 Bytes

Ad Hoc Cypress Tests

General approach to end-to-end (E2E) testing

This is documented in the README in the primary directory of our cypress tests.

This suite of 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.

Running Ad Hoc Tests

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