DEV Community

Discussion on: Setting up Cypress

Collapse
 
debs_obrien profile image
Debbie O'Brien

Thanks I just modified article as yes the Netlify plugin is really nice. Interesting approach to test it on the preview branch. How do you then check your tests are ok? wait on email if it fails or ??

Collapse
 
mornir profile image
Jérôme Pott • Edited
  • I protected the master branch so that branches with GitHub Action that failed cannot be merged.
  • I can check the test details in the GitHub Action, but the best way is to connect the GitHub repository to the Cypress dashboard. There I can see screenshots and videos of the test runs.
  • There's also a GitHub Integration for Cypress that enriches the pull requests with nicely presented information.
  • I also receive emails in case tests are failings.

Here's an example of such a pull request: github.com/mornir/copywork-portfol...