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

Commit 13bdac7

Browse files
committed
add demo for #88
1 parent 171a6c5 commit 13bdac7

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,14 @@ jobs:
201201
--env grepTags="@tag1",grepOmitFiltered=true \
202202
--expect-exactly expects/omit-filtered.json
203203
204+
# https://github.com/cypress-io/cypress-grep/issues/88
205+
- name: Omit and skip combination 🧪
206+
run: |
207+
npx cypress-expect \
208+
--config testFiles="omit-and-skip-spec.js" \
209+
--env grepTags="@us1",grepOmitFiltered=true \
210+
--expect-exactly expects/omit-and-skip.json
211+
204212
tests3:
205213
runs-on: ubuntu-20.04
206214
needs: install
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/// <reference path="../../src/index.d.ts" />
2+
3+
// @ts-check
4+
5+
describe('Page', () => {
6+
describe('List', { tags: ['@us1'] }, () => {
7+
it.skip('first test', () => {})
8+
it('second test', () => {})
9+
it('third test', () => {})
10+
})
11+
})

expects/omit-and-skip.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"Page": {
3+
"List": {
4+
"first test": "pending",
5+
"second test": "passed",
6+
"third test": "passed"
7+
}
8+
}
9+
}

0 commit comments

Comments
 (0)