bahmutov / bahmutov/cypress-repeat

Currently im trying to use cypress-repeat and it gives me a 'Can't run because no spec files were found.' in --rerun-failed-only

Open
#31 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
39
Forks
12
PR merge metrics
No merged PRs in 30d

Description

My cypress tests are in the hierarchy cypress/payment/integration and in cypress run --until-passes works as expected but when i try to run --rerun-failed-only i always get the following error :-

Can't run because no spec files were found.

We searched for any files matching this glob pattern:

i tried setting the testFiles in cypress.json but no luck.
Could you please help me with this?
Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing --rerun-failed-only with specs under cypress/payment/integration, then inspect how cypress-repeat discovers specs for that option. Compare it with --until-passes and review the testFiles setting in cypress.json. Done means the failed-only mode locates the existing specs or the limitation is clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, javascript
Domain
cli, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.