You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.
Ray Estrada edited this page Oct 27, 2022
·
5 revisions
Testing with Cypress
To start testing initialize your local environment
npm run start
Then in a new terminal, you can run the testing scripts below.
Testing scripts and their use:
cy:open: opens the cypress runner in the browser to target specific tests for debugging
cy:test: runs all integration tests for the site in the command line
cy:axe: runs axe accessibility testing
cy:links: runs test to validate links are working as expected
Automated External Link testing
A GitHub Actions scheduled task has been added in cypress-external-links-cron-workflow.yml to test external links for English and Spanish translation of the site. This is scheduled at Mon and Thurs at 9am. Emails are sent out notifying the team of a failure. Any failured will need to ticketed out and assigned to GSA to determine what action needs to be taken: update the link, add an exclusion to the test or no action.