-
Notifications
You must be signed in to change notification settings - Fork 39
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
Invalid count value #107
Comments
Can you provide reproduction steps? Plugin and cypress version? |
Cypress 6.6.0 and cypress-terminal-report 3.2.1. I followed the installation instructions and then ran a failing cypress integration test. FWIW |
Does this reproduce only with |
DEBUG=cypress:server:browsers:electron works? So does this mean that its an issue with firefox or chrome browser? |
I've only reproduced it with |
Version 2.3.1 (as opposed to 3.2.1) of cypress-terminal-report works for me. |
Theoretical fix was released in 3.2.2. I was not able to reproduce the issue. The issue I suppose is that the current code relies on a fact that all (mocha (cypress uses it)) tests should have at-least one parent context() or describe(). Now maybe the code determining this is somehow wrong in some case, or it is possible to have tests without parent somehow. If the case the structure of the failing tests might give us more clues. In any case the current code protects itself against invalid calculation here and defaults to 0 tab level. If in any case you need more recent features you can upgrade and see if it works correctly. |
Seemed to throw error instead of printing logs for me. Will try
cypress-log-to-output
next.The text was updated successfully, but these errors were encountered: