You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pending - Slightly confusingly, if the user does not want an existing test to run, they can use the it.skip or xit syntax to skip the test or a block of tests. Cypress marks all these tests pending.
skipped - The last test status is for tests that the user meant to run, but these tests were skipped due to some run-time error.
CURRENT CYPRESS 10.11.0 BEHAVIOR
json reporter output shows pending tests as also skipped.
Desired behavior
Json reporter output behavior from Cypress v10.10.0, which shows pending tests as NOT ALSO skipped.
@RolandBurrows Thank you for the detailed issue and reproducible example. I confirmed this behavior has changed from 10.10.0 to 10.11.0 and is still an issue in the latest v12 release.
I'm not really sure what change caused this problem, I assume my changes here: #24217. I opened a PR to fixed this behavior.
The code for this is done in cypress-io/cypress#25264, but has yet to be released.
We'll update this issue and reference the changelog when it's released.
Current behavior
CONTEXT
Cypress result shows skipped tests as pending #3092
https://glebbahmutov.com/blog/cypress-test-statuses/
pending
- Slightly confusingly, if the user does not want an existing test to run, they can use the it.skip or xit syntax to skip the test or a block of tests. Cypress marks all these tests pending.skipped
- The last test status is for tests that the user meant to run, but these tests were skipped due to some run-time error.CURRENT CYPRESS 10.11.0 BEHAVIOR
Desired behavior
Json reporter output behavior from Cypress v10.10.0, which shows pending tests as NOT ALSO skipped.
Test code to reproduce
$ npm install [email protected]
$ npm install [email protected]
$ ./node_modules/.bin/cypress run
$ npm install [email protected]
$ ./node_modules/.bin/cypress run
Cypress Version
10.11.0
Node version
v18.12.0
Operating System
Windows 10 Home 21H1
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: