This repository was archived by the owner on Mar 29, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +13610
-15
lines changed
cypress/integration/dynamic Expand file tree Collapse file tree 5 files changed +13610
-15
lines changed Original file line number Diff line number Diff line change @@ -412,24 +412,24 @@ jobs:
412
412
--env grepTags="@sanity+@screen-b" \
413
413
--expect-exactly expects/inherits-tag-spec.json
414
414
415
- - name : explicit not tags prevent test from running
415
+ - name : explicit not tags prevent test from running
416
416
run : |
417
417
npx cypress-expect \
418
418
--config specPattern="**/explicit-spec.js" \
419
419
--env grepTags="@tag1 --@tag2" \
420
420
--expect-exactly expects/explicit-spec.json
421
421
422
- - name : explicit not tags work with omitFiltered
422
+ - name : explicit not tags work with omitFiltered
423
423
run : |
424
424
npx cypress-expect \
425
425
--config specPattern="**/explicit-spec.js" \
426
426
--env grepTags="@tag1 --@tag2",grepOmitFiltered=true \
427
427
--expect-exactly expects/explicit-omit-spec.json
428
-
428
+
429
429
- name : filter specs when using dynamic names 🧪
430
430
run : |
431
431
npx cypress-expect \
432
- --config testFiles ="**/dynamic/*.spec.js" \
432
+ --config specPattern ="**/dynamic/*.spec.js" \
433
433
--env grepTags="@smoke",grepFilterSpecs=true \
434
434
--expect-exactly expects/dynamic-spec.json
435
435
Original file line number Diff line number Diff line change 3
3
const parameterized = 'parameterized'
4
4
5
5
describe ( 'should run these tests' , ( ) => {
6
- it ( `${ parameterized } title` , { tags : '@smoke' } , ( ) => {
7
- } )
6
+ it ( `${ parameterized } title` , { tags : '@smoke' } , ( ) => { } )
8
7
9
- it ( 'seperated' + ' title' , { tags : '@smoke' } , ( ) => {
10
- } )
11
- } ) ;
8
+ it ( 'split' + ' title' , { tags : '@smoke' } , ( ) => { } )
9
+ } )
Original file line number Diff line number Diff line change 3
3
const parameterized = 'parameterized'
4
4
5
5
describe ( 'should filter out this spec' , ( ) => {
6
- it ( `${ parameterized } title` , { tags : '@sanity' } , ( ) => {
7
- } )
6
+ it ( `${ parameterized } title` , { tags : '@sanity' } , ( ) => { } )
8
7
9
- it ( 'seperated' + ' title' , { tags : '@sanity' } , ( ) => {
10
- } )
11
- } ) ;
8
+ it ( 'split' + ' title' , { tags : '@sanity' } , ( ) => { } )
9
+ } )
Original file line number Diff line number Diff line change 1
1
{
2
2
"should run these tests" : {
3
3
"parameterized title" : " passed" ,
4
- "seperated title" : " passed"
4
+ "split title" : " passed"
5
5
}
6
6
}
You can’t perform that action at this time.
0 commit comments