Questions tagged [cypress-grep]
7 questions
7
votes
1 answer
Filter tests by tags (e.g cypress-grep) when using "Run all tests"
Following on from my question Filter tests using "Run all tests" in Cypress version 10+, can we apply tagged test filters to the Cypress GUI?
For example, if I add cypress-grep to the project I can then use tags against each test like this
it('tests…

Florence.P
- 168
- 9
4
votes
1 answer
How to apply @smoke tag to some of the tests when using the cypress-each plugin
I'm using cypress-each to run dynamic tests, but the number of tests overall is large and I'd like to use cypress-grep to add @smoke tags to the data, and run a fraction of the tests.
How do I add tags to
const title = (data) => `Testing…

Thelonious
- 146
- 10
1
vote
1 answer
Using cypress grep tags how can we configurable tags for a automation tests
How can we make the cypress grep tags configurable for a automation tests. At the moments the tags are predefined in side the automation tests, for example: "@Smoke". This is running fine. But now I want to run few tests with a new tag like…

soccerway
- 10,371
- 19
- 67
- 132
1
vote
1 answer
How To Configure cypress-grep plugin v3.1.0 for Cypress v11.01?
Cypress Version
11.0.1
Node Version
16.16.0
Package Manager
Yarn version 1.22.19
Operating System
Windows 10 Pro Version 21H2
I've created a cypress_grep_test_project to practice this plugin and used the default sample spec files that Cypress…

Zujaj Misbah Khan
- 655
- 2
- 11
- 31
0
votes
0 answers
Cypress error : Cannot set properties of undefined (setting '_testConfig')
I recently upgraded my cypress from 9X version to 10X version and installed cypress-grep plugin and wants to run Test specs based on the Tags I passed in the spec files.
After I upgrade, the cypress-grep works fine, but, getting error while running…
0
votes
0 answers
How to configure "@cypress/grep" 3.1.0 plugin with cypress v 10.11.0
I'm trying to filter tests using the '@cypress/grep' plugin
but it doesn't filter tests with tags
What am I doing wrong?

Oleh Dymych
- 315
- 1
- 3
- 7
-2
votes
0 answers
Using configurationForEnvironment and cypress-grep (grepFilterSpecs) still loop through all the specs instead of skipping them
I need to use both the configurationForEnvironment and cypress-grep (grepFilterSpecs=true) plugins. However, I couldn't make the two to work at the same time.
If I remove the configurationForEnvironment and return the config, grepFilterSpecs=true…

user22408258
- 5
- 3