@@ -422,13 +422,15 @@ describe('angular-fullstack generator', function () {
422422 } ) ;
423423 } ) ;
424424
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+ } ) ;
428429
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+ }
432434 } ) ;
433435
434436 describe ( 'with other preprocessors and oauth' , function ( ) {
@@ -491,13 +493,15 @@ describe('angular-fullstack generator', function () {
491493 } ) ;
492494 } ) ;
493495
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+ } ) ;
497500
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+ }
501505
502506 } ) ;
503507
@@ -563,13 +567,15 @@ describe('angular-fullstack generator', function () {
563567 } ) ;
564568 } ) ;
565569
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+ } ) ;
569574
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+ }
573579
574580 } ) ;
575581
@@ -622,13 +628,15 @@ describe('angular-fullstack generator', function () {
622628 } ) ;
623629 } ) ;
624630
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+ } ) ;
628635
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+ }
632640
633641 } ) ;
634642 } ) ;
0 commit comments