Skip to content
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

Retried test cases are reported multiple times in report #967

Closed
3 tasks done
RankaPalak opened this issue Mar 13, 2023 · 1 comment
Closed
3 tasks done

Retried test cases are reported multiple times in report #967

RankaPalak opened this issue Mar 13, 2023 · 1 comment

Comments

@RankaPalak
Copy link

RankaPalak commented Mar 13, 2023

Current behavior

When we use retry feature in cypress, the report displays all the retried attempts.

Test cases run, the retried attempt is 2 for this case:

Screen Shot 2023-03-13 at 2 17 52 PM

The report generated displays both the attempts:

Screen Shot 2023-03-13 at 2 18 33 PM

Desired behavior

Only the latest attempt should be displayed in the report.

Test code to reproduce

Add the below code for retries in cypress.config file:
retries: {
runMode: 1,
openMode: 1,
}

Versions

"cypress": "^10.0.0",
"@badeball/cypress-cucumber-preprocessor": "^15.1.0",
"@bahmutov/cypress-esbuild-preprocessor": "^2.1.4",
Node version: v18.14.2

Checklist

  • I've read the FAQ.
  • I've read Instructions for logging issues.
  • I'm not using cypress-cucumber-preprocessor@4.3.1 (package name has changed and it is no longer the most recent version, see #689).
@badeball
Copy link
Owner

badeball added a commit that referenced this issue Mar 19, 2023
badeball added a commit that referenced this issue Mar 19, 2023
badeball added a commit that referenced this issue Mar 26, 2023
badeball added a commit that referenced this issue Mar 26, 2023
badeball added a commit that referenced this issue Mar 26, 2023
badeball added a commit that referenced this issue Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants