Cypress doesn't skip 'Uncaught Exception' even though index file in support directory is setup #21390
Unanswered
RadwaSaleh
asked this question in
CI setup
Replies: 1 comment 2 replies
-
What happens if you put that code in the relevant spec file vs. the index file? |
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
-
What I understood from documentation is that support file
index.js
runs before each spec fileCode in
index.js
file:but I still can see the test fail on github actions
![Test fail](https://user-images.githubusercontent.com/33086179/167398804-0e8d6c8d-2bd9-453e-9c6c-0adbf1c97f65.png)
Test passes locally though
![test pass local](https://user-images.githubusercontent.com/33086179/167399638-fc72e155-5edf-429c-bcf9-ba9d87c17205.png)
Beta Was this translation helpful? Give feedback.
All reactions