Tests succeed locally but fail in github-actions #9578
Unanswered
briansmith-fr
asked this question in
Questions and Help
Replies: 2 comments 3 replies
-
What are the commands in the test? Can you store the test artifacts like screenshots and videos on GH Actions or on Cypress Dashboard to share? |
Beta Was this translation helpful? Give feedback.
1 reply
-
You can see how to store test artifacts on GitHub https://github.com/cypress-io/github-action#artifacts |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm new to Cypress. I have tests that succeed locally (via npm cypress run); But in github-actions, they fail. Here's a snippet from the github-action log:
Here's my .github/workflows yml:
I have an "always succeeds" test that does succeed in actions; the ones that actually do something, fail.
I've tried things like omitting browser, omitting headless, etc. No dice. Is there a checklist of things I should be looking for? Any guidance is much appreciated.
Regards,
Brian
Beta Was this translation helpful? Give feedback.
All reactions