Skip to content

Testing

Jonathan Flynn edited this page Apr 8, 2022 · 7 revisions

Cypress

End to end testing was added in this PR: https://github.com/guardian/manage-frontend/pull/790

Running Cypress tests via actions and locally

The steps to run these tests correctly are defined in the yml file: https://github.com/guardian/manage-frontend/blob/main/.github/workflows/cypress.yml

  1. Run yarn cypress:server (this bypasses the Identity Gateway)
  2. Run yarn cypress:open to test visually locally, or run yarn cypress:run to run tests with command line coverage
Clone this wiki locally