-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cypress 13 - Module API missing skipped tests data #27694
Comments
@debugbit Thanks for reporting so quickly. We're looking into this now. |
@debugbit Could you provide a reproducible example of the tests you ran? It may be specific to some way your test results are generating, so I'd like to have that info upfront if possible. |
@debugbit We did verify that the |
@jennifer-shehane thanks for quick response! Here's an output from 12.17.4 for the same spec file.
|
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
Cypress 13 Module API returns bogus results that breaks our scripts. The changelog mentions a breaking change, but the related issue #23805 is different from what I am reporting here.
EDIT: confirmed - the only issue is with missing
skipped
statsFor example:
totalDuration
isNaN
totalSkipped
isNaN
startedTestsAt
isundefined
endedTestsAt
isundefined
runs.stats.duration
isundefined
runs.stats.endedAt
isundefined
runs.stats.startedAt
isundefined
runs.stats.skipped
is missingDesired behavior
Properly set the return value of
cypress.run
Test code to reproduce
Ever invocation of
cypress.run
Cypress Version
13.0.0
Node version
v16.17.1
Operating System
macOS 13.0
Debug Logs
No response
Other
Thanks a lot for your help!
The text was updated successfully, but these errors were encountered: