@@ -422,13 +422,15 @@ describe('angular-fullstack generator', function () {
422
422
} ) ;
423
423
} ) ;
424
424
425
- it ( 'should run e2e tests successfully' , function ( done ) {
426
- runTest ( 'grunt test:e2e' , this , done , 240000 ) ;
427
- } ) ;
425
+ if ( ! process . env . SKIP_E2E ) {
426
+ it ( 'should run e2e tests successfully' , function ( done ) {
427
+ runTest ( 'grunt test:e2e' , this , done , 240000 ) ;
428
+ } ) ;
428
429
429
- it ( 'should run e2e tests successfully for production app' , function ( done ) {
430
- runTest ( 'grunt test:e2e:prod' , this , done , 240000 ) ;
431
- } ) ;
430
+ it ( 'should run e2e tests successfully for production app' , function ( done ) {
431
+ runTest ( 'grunt test:e2e:prod' , this , done , 240000 ) ;
432
+ } ) ;
433
+ }
432
434
} ) ;
433
435
434
436
describe ( 'with other preprocessors and oauth' , function ( ) {
@@ -491,13 +493,15 @@ describe('angular-fullstack generator', function () {
491
493
} ) ;
492
494
} ) ;
493
495
494
- it ( 'should run e2e tests successfully' , function ( done ) {
495
- runTest ( 'grunt test:e2e' , this , done , 240000 ) ;
496
- } ) ;
496
+ if ( ! process . env . SKIP_E2E ) {
497
+ it ( 'should run e2e tests successfully' , function ( done ) {
498
+ runTest ( 'grunt test:e2e' , this , done , 240000 ) ;
499
+ } ) ;
497
500
498
- it ( 'should run e2e tests successfully for production app' , function ( done ) {
499
- runTest ( 'grunt test:e2e:prod' , this , done , 240000 ) ;
500
- } ) ;
501
+ it ( 'should run e2e tests successfully for production app' , function ( done ) {
502
+ runTest ( 'grunt test:e2e:prod' , this , done , 240000 ) ;
503
+ } ) ;
504
+ }
501
505
502
506
} ) ;
503
507
@@ -563,13 +567,15 @@ describe('angular-fullstack generator', function () {
563
567
} ) ;
564
568
} ) ;
565
569
566
- it ( 'should run e2e tests successfully' , function ( done ) {
567
- runTest ( 'grunt test:e2e' , this , done , 240000 ) ;
568
- } ) ;
570
+ if ( ! process . env . SKIP_E2E ) {
571
+ it ( 'should run e2e tests successfully' , function ( done ) {
572
+ runTest ( 'grunt test:e2e' , this , done , 240000 ) ;
573
+ } ) ;
569
574
570
- it ( 'should run e2e tests successfully for production app' , function ( done ) {
571
- runTest ( 'grunt test:e2e:prod' , this , done , 240000 ) ;
572
- } ) ;
575
+ it ( 'should run e2e tests successfully for production app' , function ( done ) {
576
+ runTest ( 'grunt test:e2e:prod' , this , done , 240000 ) ;
577
+ } ) ;
578
+ }
573
579
574
580
} ) ;
575
581
@@ -622,13 +628,15 @@ describe('angular-fullstack generator', function () {
622
628
} ) ;
623
629
} ) ;
624
630
625
- it ( 'should run e2e tests successfully' , function ( done ) {
626
- runTest ( 'grunt test:e2e' , this , done , 240000 ) ;
627
- } ) ;
631
+ if ( ! process . env . SKIP_E2E ) {
632
+ it ( 'should run e2e tests successfully' , function ( done ) {
633
+ runTest ( 'grunt test:e2e' , this , done , 240000 ) ;
634
+ } ) ;
628
635
629
- it ( 'should run e2e tests successfully for production app' , function ( done ) {
630
- runTest ( 'grunt test:e2e:prod' , this , done , 240000 ) ;
631
- } ) ;
636
+ it ( 'should run e2e tests successfully for production app' , function ( done ) {
637
+ runTest ( 'grunt test:e2e:prod' , this , done , 240000 ) ;
638
+ } ) ;
639
+ }
632
640
633
641
} ) ;
634
642
} ) ;
0 commit comments