-
How can I run cypress and check if any case failed, Github will throw an error and stop deploying? |
Beta Was this translation helpful? Give feedback.
Answered by
bahmutov
Feb 4, 2021
Replies: 1 comment
-
I am not sure I understand the problem or how it can happen. If you execute Cypress on GitHub Actions, if there are any failed tests, it exits with non-zero exit code, and the action fails. Can you provide the output of the action run, or better link to the run itself showing it NOT to be the case? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
bahmutov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am not sure I understand the problem or how it can happen. If you execute Cypress on GitHub Actions, if there are any failed tests, it exits with non-zero exit code, and the action fails. Can you provide the output of the action run, or better link to the run itself showing it NOT to be the case?