-
Notifications
You must be signed in to change notification settings - Fork 160
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 report improve #374
Comments
Most likely this is an issue with how Cypress is reporting tests within a loop since the reporter is just displaying based on the info it has. Can you provide example code to reproduce? |
Here the simplified example.
|
Thanks for the example. I'm not sure what you want is going to be possible with how you've written the tests. Using the example above, there's only a single You could try flipping things so the
|
That is actually the information I'm missing. Where should your block be placed? You can't nest |
You can put the block in a describe. |
Try to run this
You will get an error "Cannot call |
Hmm, I expected it would work but it looks like Cypress doesn't support this kind of dynamic test creation which is unfortunate. |
I'm not sure whether this is a Cypress or Mochawesome issue.
I have a test block in which I test each element of a set in a loop. I would like to improve the control over the html generated report and have an entry in the report of each element, like shown in the screenshots.
What I have now
What I would like to have
The text was updated successfully, but these errors were encountered: