@@ -136,10 +136,12 @@ describe('angular-fullstack:app', function() {
136
136
137
137
if ( ! process . env . SKIP_E2E ) {
138
138
it ( 'should run e2e tests successfully' , function ( ) {
139
+ this . retries ( 2 ) ;
139
140
return runCmd ( 'grunt test:e2e' ) . should . be . fulfilled ( ) ;
140
141
} ) ;
141
142
142
143
it ( 'should run e2e tests successfully for production app' , function ( ) {
144
+ this . retries ( 2 ) ;
143
145
return runCmd ( 'grunt test:e2e:prod' ) . should . be . fulfilled ( ) ;
144
146
} ) ;
145
147
}
@@ -258,10 +260,12 @@ describe('angular-fullstack:app', function() {
258
260
259
261
if ( ! process . env . SKIP_E2E ) {
260
262
it ( 'should run e2e tests successfully' , function ( ) {
263
+ this . retries ( 2 ) ;
261
264
return runCmd ( 'grunt test:e2e' ) . should . be . fulfilled ( ) ;
262
265
} ) ;
263
266
264
267
it ( 'should run e2e tests successfully for production app' , function ( ) {
268
+ this . retries ( 2 ) ;
265
269
return runCmd ( 'grunt test:e2e:prod' ) . should . be . fulfilled ( ) ;
266
270
} ) ;
267
271
}
@@ -334,10 +338,12 @@ describe('angular-fullstack:app', function() {
334
338
335
339
if ( ! process . env . SKIP_E2E ) {
336
340
it ( 'should run e2e tests successfully' , function ( ) {
341
+ this . retries ( 2 ) ;
337
342
return runCmd ( 'grunt test' ) . should . be . fulfilled ( ) ;
338
343
} ) ;
339
344
340
345
it ( 'should run e2e tests successfully for production app' , function ( ) {
346
+ this . retries ( 2 ) ;
341
347
return runCmd ( 'grunt test:e2e:prod' ) . should . be . fulfilled ( ) ;
342
348
} ) ;
343
349
}
@@ -411,10 +417,12 @@ describe('angular-fullstack:app', function() {
411
417
412
418
if ( ! process . env . SKIP_E2E ) {
413
419
it ( 'should run e2e tests successfully' , function ( ) {
420
+ this . retries ( 2 ) ;
414
421
return runCmd ( 'grunt test:e2e' ) . should . be . fulfilled ( ) ;
415
422
} ) ;
416
423
417
424
it ( 'should run e2e tests successfully for production app' , function ( ) {
425
+ this . retries ( 2 ) ;
418
426
return runCmd ( 'grunt test:e2e:prod' ) . should . be . fulfilled ( ) ;
419
427
} ) ;
420
428
}
0 commit comments