Skip to content
This repository was archived by the owner on Mar 29, 2023. It is now read-only.

Commit f913e48

Browse files
committed
add tip about cypress.json
1 parent 7a91e69 commit f913e48

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,16 @@ Note: this requires installing this plugin in your project's plugin file, see th
205205

206206
Note 2: the `grepFilterSpecs` option is only compatible with the positive `grep` and `grepTags` options, not with the negative "!..." filter.
207207

208+
**Tip:** you can set this environment variable in the `cypress.json` file to enable it by default and skip using the environment variable:
209+
210+
```json
211+
{
212+
"env": {
213+
"grepFilterSpecs": true
214+
}
215+
}
216+
```
217+
208218
### grep untagged tests
209219

210220
Sometimes you want to run only the tests without any tags, and these tests are inside the describe blocks without any tags.

0 commit comments

Comments
 (0)