[cypress/grep] Add capability to filter spec by referring to Typescript enums #26038
Labels
E2E
Issue related to end-to-end testing
npm: @cypress/grep
@cypress/grep package issues
type: feature
New feature that does not currently exist
What would you like?
My tests are written as
I have an enum for tags
When I run my cases with the below config
I get the following console message and it cannot filter tests
While debugging I observed it printed
cypress-grep found grep tags "@ui" in 51 specs +193ms
but only 2 files have a@ui
tag.Why is this needed?
Grouping tags in enums is helping to have a centralized place to identify all the tags of a project and will not lead to spelling mistakes or duplicates/unnecessary tags.
identifying tags from enum will help to leverage this capability to the fullest.
Other
No response
The text was updated successfully, but these errors were encountered: