bahmutov / cypress-repeat

Run Cypress multiple times in a row

Home Page:https://glebbahmutov.com/blog/wrap-cypress-using-npm/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rerun-failed-only not working

tssobe opened this issue · comments

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?

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)?