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:
412412 --env grepTags="@sanity+@screen-b" \
413413 --expect-exactly expects/inherits-tag-spec.json
414414
415- - name : explicit not tags prevent test from running
415+ - name : explicit not tags prevent test from running
416416 run : |
417417 npx cypress-expect \
418418 --config specPattern="**/explicit-spec.js" \
419419 --env grepTags="@tag1 --@tag2" \
420420 --expect-exactly expects/explicit-spec.json
421421
422- - name : explicit not tags work with omitFiltered
422+ - name : explicit not tags work with omitFiltered
423423 run : |
424424 npx cypress-expect \
425425 --config specPattern="**/explicit-spec.js" \
426426 --env grepTags="@tag1 --@tag2",grepOmitFiltered=true \
427427 --expect-exactly expects/explicit-omit-spec.json
428-
428+
429429 - name : filter specs when using dynamic names 🧪
430430 run : |
431431 npx cypress-expect \
432- --config testFiles ="**/dynamic/*.spec.js" \
432+ --config specPattern ="**/dynamic/*.spec.js" \
433433 --env grepTags="@smoke",grepFilterSpecs=true \
434434 --expect-exactly expects/dynamic-spec.json
435435
Original file line number Diff line number Diff line change 33const parameterized = 'parameterized'
44
55describe ( 'should run these tests' , ( ) => {
6- it ( `${ parameterized } title` , { tags : '@smoke' } , ( ) => {
7- } )
6+ it ( `${ parameterized } title` , { tags : '@smoke' } , ( ) => { } )
87
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 33const parameterized = 'parameterized'
44
55describe ( 'should filter out this spec' , ( ) => {
6- it ( `${ parameterized } title` , { tags : '@sanity' } , ( ) => {
7- } )
6+ it ( `${ parameterized } title` , { tags : '@sanity' } , ( ) => { } )
87
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 11{
22 "should run these tests" : {
33 "parameterized title" : " passed" ,
4- "seperated title" : " passed"
4+ "split title" : " passed"
55 }
66}
You can’t perform that action at this time.
0 commit comments