You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 29, 2023. It is now read-only.
@@ -183,6 +185,13 @@ You can select tests to run or skip using tags by passing `--env grepTags=...` v
183
185
--env grep=hello,grepTags=smoke
184
186
```
185
187
188
+
If you can pass commas in the environment variable `grepTags`, you can use `,` to separate the tags
189
+
190
+
```
191
+
# enable the tests with tag "one" or "two"
192
+
CYPRESS_grepTags=one,two npx cypress run
193
+
```
194
+
186
195
### Tags in the test config object
187
196
188
197
Cypress tests can have their own [test config object](https://on.cypress.io/configuration#Test-Configuration), and when using this plugin you can put the test tags there, either as a single tag string or as an array of tags.
@@ -301,8 +310,7 @@ If you have `tsconfig.json` file, add this library to the types list
301
310
The tags are also applied to the "describe" blocks. In that case, the tests look up if any of their outer suites are enabled.
302
311
303
312
```js
304
-
describe('block with config tag', { tags:'@smoke' }, () => {
305
-
})
313
+
describe('block with config tag', { tags:'@smoke' }, () => {})
0 commit comments