bahmutov / bahmutov/cypress-split

List of specs not supporting wildcards

Open
#231 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
285
Forks
28
PR merge metrics
No merged PRs in 30d

Description

I'm having an issue with the following command:
`$ SPEC="cypress\folder1\**\*.spec.ts, cypress\folder2\**\*.spec.ts" npx cypress run --env split=1,splitIndex1=1`

The command is not working as expected. It seems to skip all files, stating that no files were found. I'm not sure if I'm doing something wrong or if it's not supported to use wildcards in the list of specs.

Additional information:
- Cypress version: 12.10.0
- Cypress-Split version: 1.20.1
- Operating System: Windows 10 22H2

Any help would be appreciated.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported `cypress run` command on Windows 10 with Cypress 12.10.0 and cypress-split 1.20.1, using the two comma-separated wildcard patterns. Trace how the plugin receives and resolves the spec list; done means matching spec files are found and split instead of being skipped.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, javascript
Domain
ci-cd, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.