bahmutov / bahmutov/cypress-split

Split launching 1 spec

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

Description

Hello!

I am using cypress-split plugin in our ci with a value of 2 as matrix-containers. Everything is working fine launching our smokes tests but now we have the possibility to launch a tag as input. So my tag @Login only has 1 spec and the problem is that is executing the file on matrix-container 0 and then the matrix container 1 fails because does not found tests to executed.

I was thinking to use the plugin find-cypress-spec but I am using cucumber and I saw this [ticket](https://github.com/bahmutov/find-cypress-specs/issues/128).

Any idea how can I retrieve the files involved for the execution and determinate the matrix? Or how can I configure to not fail if there are not tests to be executed?

Thanks in advance!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing cypress-split's handling of tagged Cypress/Cucumber specs across CI matrix containers, with the linked find-cypress-specs issue as context. Done means a tag matching one spec no longer causes an empty matrix container to fail, or the supported configuration and limitation are clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, javascript
Domain
ci-cd, testing
Issue type
Feature
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.