Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

Skip scripts (false or true) are considered errors (dashboard/screenshot and video folder) #168

Open
melibe23 opened this issue Oct 6, 2021 · 3 comments

Comments

@melibe23
Copy link

melibe23 commented Oct 6, 2021

The image is saved on /screenshot and /videos folder as if it was an error (I only saved when fails)
image
Also, in the Dashboard
image

The tests passed, it is working as expected, but to have the red flag and in the dashboard the metrics are not accurate due to this.

Would it be possible not to consider these as errors?

@conversayShawn
Copy link

reproducible example: https://github.com/conversaShawn/using-cypress-skip-test-plugin

When importing skipOn or onlyOn, the error sync skip; aborting execution does not appear, however, it does when using cy.skipOn

I am verifying internally if this is the expected behavior.

@melibe23
Copy link
Author

@conversaShawn At the end, I implemented the workaround that you found. Thanks.

@AndrewPark9517
Copy link

AndrewPark9517 commented Nov 16, 2021

@conversaShawn Ran into this issue not too long ago. Still interested in knowing if there is a way to skip the test using cy.skipOn without causing a test failure.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants