@@ -33,7 +33,8 @@ describe('CodeceptJS Timeouts', function () {
3333 it ( 'should ignore timeouts if no timeout' , done => {
3434 exec ( config_run_config ( 'codecept.conf.js' , 'no timeout test' ) , ( err , stdout ) => {
3535 debug_this_test && console . log ( stdout )
36- expect ( stdout ) . not . toContain ( 'Timeout' )
36+ expect ( stdout ) . not . toContain ( 'TimeoutError' )
37+ expect ( stdout ) . not . toContain ( 'was interrupted on' )
3738 expect ( err ) . toBeFalsy ( )
3839 done ( )
3940 } )
@@ -52,7 +53,7 @@ describe('CodeceptJS Timeouts', function () {
5253 it ( 'should prefer step timeout' , done => {
5354 exec ( config_run_config ( 'codecept.conf.js' , 'timeout step' , true ) , ( err , stdout ) => {
5455 debug_this_test && console . log ( stdout )
55- expect ( stdout ) . toContain ( 'was interrupted on step timeout 200ms' )
56+ expect ( stdout ) . toContain ( 'was interrupted on timeout 200ms' )
5657 expect ( err ) . toBeTruthy ( )
5758 done ( )
5859 } )
@@ -61,7 +62,7 @@ describe('CodeceptJS Timeouts', function () {
6162 it ( 'should keep timeout with steps' , done => {
6263 exec ( config_run_config ( 'codecept.timeout.conf.js' , 'timeout step' , true ) , ( err , stdout ) => {
6364 debug_this_test && console . log ( stdout )
64- expect ( stdout ) . toContain ( 'was interrupted on step timeout 100ms' )
65+ expect ( stdout ) . toContain ( 'was interrupted on timeout 100ms' )
6566 expect ( err ) . toBeTruthy ( )
6667 done ( )
6768 } )
0 commit comments