Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Feature: Running tests with multiple tags on grep #6

Open
dialex opened this issue Jun 25, 2019 · 3 comments
Open

Feature: Running tests with multiple tags on grep #6

dialex opened this issue Jun 25, 2019 · 3 comments

Comments

@dialex
Copy link
Contributor

dialex commented Jun 25, 2019

To run tests tagged with "ABC" I do: --env grep=ABC

To run tests tagged with "ABC" or "XYZ" I do: ?

@dialex dialex changed the title Running tests with multiple tags on grep Feature: Running tests with multiple tags on grep Jun 27, 2019
@MaxNamazov
Copy link
Contributor

You can implement this with custom select logic. Docs

@samlucax
Copy link

@MaxNamazov could you share an example using two or more tags? Thanks

@r0nunes
Copy link

r0nunes commented Nov 18, 2020

@dialex @samlucax

An example of a logic to run two tags at the same time:
https://gist.github.com/r0nunes/240e0b3a9484051d3781e8f62fbfc82c

To execute: npm cypress run --env grep=[@Tag1, @Tag2]

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

No branches or pull requests

4 participants