Skip to main content

End to End Testing (Cypress)

End to end tests for Sirius are now written in Cypress. They are stored in the End to End Tests Repo

Older Serenity-based end to end tests are being deprecated. Do not add to the Serenity suite in the main repo.

You can pull that repo separately if you need to write a new end to end test. If you just need to run the tests they can be run via the makefile.

Full Run

Makefile: make end-to-end-tests

Tagged Run

Makefile: make end-to-end-tests SUITE="@contact"

This will run only the end to end test scenarios tagged “@contact”

Tagged Run with Specific Feature File

Within the end-to-end repo run:

docker-compose run cypress test -- --env grepTags=@dashboard,grepOmitFiltered=true

This page was last reviewed on 24 March 2023. It needs to be reviewed again on 24 September 2023 by the page owner #opg-sirius-develop .
This page was set to be reviewed before 24 September 2023 by the page owner #opg-sirius-develop. This might mean the content is out of date.