bahmutov / bahmutov/cypress-repeat

rerun-failed-only not working

Open
#43 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
39
Forks
12
PR merge metrics
No merged PRs in 30d

Description

I am using:
"npx cypress-repeat run -n 2 --until-passes --rerun-failed-only --browser chrome --headed --spec cypress/tests/integration/sanity/allSanity.spec.js",

and when a test fail in a spec, it rerun all the specs instead of running only the failed spec.

Using Cypress 11.

Any idea?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported command with Cypress 11 and the cypress/tests/integration/sanity/allSanity.spec.js spec. Trace how --rerun-failed-only selects specs after a failure; done means only the failed spec is rerun rather than all specs.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, javascript
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.