@@ -9,20 +9,20 @@ describe('Failure in before', function () {
9
9
this . timeout ( 40000 )
10
10
it ( 'should skip tests that are skipped because of failure in before hook' , ( done ) => {
11
11
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' )
16
16
err . code . should . eql ( 1 )
17
17
done ( )
18
18
} )
19
19
} )
20
20
21
21
it ( 'should skip tests correctly with grep options' , ( done ) => {
22
22
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' )
26
26
err . code . should . eql ( 1 )
27
27
done ( )
28
28
} )
0 commit comments