cypress-split icon indicating copy to clipboard operation
cypress-split copied to clipboard

Add a feature to split based on the tags

Open RubanDhanapal91 opened this issue 3 years ago • 1 comments

First of all, thank you for this wonderful plugin.

Addition to splitting all the features files in the integration folder, adding a filter to it using tags will reduce the files for execution.

In our project, we have more than 250 cases. Kind of huge of feature files. We have split the CI Jobs based on the tags and running it. But that too take a more than 2 hours to complete the execution. If this plugin provide the tags config, then we can split even more in running and get the results a bit sooner.

Am thinking of some thing like below.

npx cypress run -e tags=@test,split=true

RubanDhanapal91 avatar Feb 05 '23 11:02 RubanDhanapal91

I got it to work using cypress/@grep. Check out the setup in my test repo.

tommy-anderson avatar Nov 14 '23 19:11 tommy-anderson