Skip to content

Commit

Permalink
[docs] Adding Cypress troubleshooting step
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmpickett authored Jul 16, 2024
1 parent 1a4306a commit e19eeb6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions READMES/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,17 @@ Just append `/cypress/` to the PR preview URL, e.g. `https://pr14763-bk1bdtbdtzg

From there, select `/videos/` or `/screenshots/actual/`, and you should be able to access a directory structure with screenshots (only for failed tests) or videos (for failed _or_ successful tests). The directory structure should mirror that of the Cypress tests themselves, so a failed test for `facilities/facilities_api.feature` should create a video at `cypress/videos/facilities/facilities_api.feature.mp4`.

### Re-run Cypress test suite on Tugboat if the automatic job failed?

Go to your Tugboat Dashboard, open the PHP Terminal and enter the following command:

`set -o allexport
source .env
set +o allexport
./tests/scripts/ci-wrapper.sh cypress 'va:test:cypress-parallel'`

This will rerun the Cypress tests one by one and may resolve any failures that were due to paralellization

----

[Table of Contents](../README.md)

0 comments on commit e19eeb6

Please sign in to comment.