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

chore: refactore the mocha patch #28323

Closed
wants to merge 4 commits into from
Closed

Conversation

brian-mann
Copy link
Member

@brian-mann brian-mann commented Nov 13, 2023

Requirements

  • Refactor the mocha.js patches, move as much functionality from the patch into the Cypress runner using a new file
  • Remove excessive system-test projects that can be simple config overrides in the systemTest.it(...) definition
  • statsStore.incrementCount(runnable?._cypressTestStatusInfo?.outerStatus || runnable.state!) should be a dynamic getter
  • update comments referencing detect-flake-and-always-fail to detect-flake-but-always-fail

Additional details

  • Excessive System Test Projects
image -->

Steps to test

How has the user experience changed?

PR Tasks


// TODO: refactor this
// requeue the test if we have retries and haven't satisfied our retry configuration.
if (retry < test.retries() && testStatusInfo.shouldAttemptsContinue) {
Copy link
Member Author

@brian-mann brian-mann Nov 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MuazOthman pointing out that this is a bug bc retries may not be on but you could still have burn-in enabled, this isn't a problem in this PR, it'll be a problem in the burnin PR.

@cypress-app-bot
Copy link
Collaborator

This PR has not had any activity in 180 days. If no activity is detected in the next 14 days, this PR will be closed.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label May 21, 2024
@cypress-app-bot
Copy link
Collaborator

This PR has been closed due to inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale no activity on this issue for a long period
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants