bahmutov / cypress-repeat

Run Cypress multiple times in a row
https://glebbahmutov.com/blog/wrap-cypress-using-npm/
37 stars 11 forks source link

rerun-failed-only not working #43

Open tssobe opened 1 year ago

tssobe commented 1 year ago

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?

ghiscoding commented 1 year ago

I see the same behavior with Cypress 12, did anyone find a way to only rerun the failed specs (as it's intended to do)?