cypress-skip-test
cypress-skip-test copied to clipboard
Skip scripts (false or true) are considered errors (dashboard/screenshot and video folder)
The image is saved on /screenshot and /videos folder as if it was an error (I only saved when fails)
Also, in the Dashboard

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?
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.
@conversaShawn At the end, I implemented the workaround that you found. Thanks.
@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.