cypress-select-tests
cypress-select-tests copied to clipboard
Feature: Running tests with multiple tags on grep
To run tests tagged with "ABC" I do: --env grep=ABC
To run tests tagged with "ABC" or "XYZ" I do: ?
You can implement this with custom select logic. Docs
@MaxNamazov could you share an example using two or more tags? Thanks
@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]