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

Commit 0e51f33

Browse files
committed
docs: clarifications to readme
1 parent 455836f commit 0e51f33

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ $ npx cypress run --env grep="-hello world"
204204
$ npx cypress run --env grep="hello; -world"
205205
```
206206

207-
**Note:** An inverted name filter that matches a suite name does not exclude its tests.
207+
**Note:** Inverted title filter is not compativle with the `grepFilterSpecs` option
208208

209209
## Filter with tags
210210

@@ -293,6 +293,8 @@ If you want to run all tests with tag `@slow` but without tag `@smoke`:
293293
--env grepTags=@slow+-@smoke
294294
```
295295

296+
**Note:** Inverted tag filter is not compativle with the `grepFilterSpecs` option
297+
296298
### Grep untagged tests
297299

298300
Sometimes you want to run only the tests without any tags, and these tests are inside the describe blocks without any tags.
@@ -315,7 +317,7 @@ $ npx cypress run --env grepTags=@smoke,grepFilterSpecs=true
315317

316318
**Note 1:** this requires installing this plugin in your project's plugin file, see the [Install](#install).
317319

318-
**Note 2:** the `grepFilterSpecs` option is only compatible with the positive `grep` and `grepTags` options, not with the negative "!..." filter.
320+
**Note 2:** the `grepFilterSpecs` option is only compatible with the positive `grep` and `grepTags` options, not with the negative (inverted) "-..." filter.
319321

320322
**Note 3:** if there are no files remaining after filtering, the plugin prints a warning and leaves all files unchanged to avoid the test runner erroring with "No specs found".
321323

0 commit comments

Comments
 (0)