@@ -9,20 +9,20 @@ describe('Failure in before', function () {
99 this . timeout ( 40000 )
1010 it ( 'should skip tests that are skipped because of failure in before hook' , ( done ) => {
1111 exec ( `${ codecept_run } ` , ( err , stdout ) => {
12- stdout . should . include ( '✔ First test will be passed' )
13- stdout . should . include ( 'S Third test will be skipped @grep' )
14- stdout . should . include ( 'S Fourth test will be skipped' )
15- stdout . should . include ( '1 passed, 1 failed , 2 skipped' )
12+ stdout . should . include ( 'First test will be passed @grep ' )
13+ stdout . should . include ( 'Third test will be skipped @grep' )
14+ stdout . should . include ( 'Fourth test will be skipped' )
15+ stdout . should . include ( '1 passed, 1 failedHooks , 2 skipped' )
1616 err . code . should . eql ( 1 )
1717 done ( )
1818 } )
1919 } )
2020
2121 it ( 'should skip tests correctly with grep options' , ( done ) => {
2222 exec ( `${ codecept_run } --grep @grep` , ( err , stdout ) => {
23- stdout . should . include ( '✔ First test will be passed' )
24- stdout . should . include ( 'S Third test will be skipped @grep' )
25- stdout . should . include ( '1 passed, 1 failed , 1 skipped' )
23+ stdout . should . include ( 'First test will be passed @grep ' )
24+ stdout . should . include ( 'Third test will be skipped @grep' )
25+ stdout . should . include ( '1 passed, 1 failedHooks , 1 skipped' )
2626 err . code . should . eql ( 1 )
2727 done ( )
2828 } )
0 commit comments