Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a feature to split based on the tags #16

Open
RubanDhanapal91 opened this issue Feb 5, 2023 · 1 comment
Open

Add a feature to split based on the tags #16

RubanDhanapal91 opened this issue Feb 5, 2023 · 1 comment

Comments

@RubanDhanapal91
Copy link

RubanDhanapal91 commented Feb 5, 2023

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 RubanDhanapal91 changed the title is there a way to split the feature files based on the tags Add a feature to split based on the tags Feb 6, 2023
@tommy-anderson
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants