@@ -408,6 +408,16 @@ describe('angular-fullstack generator', function () {
408408 assertOnlyFiles ( genFiles ( testOptions ) , done ) ;
409409 } ) ;
410410 } ) ;
411+
412+ it ( 'should run e2e tests successfully' , function ( done ) {
413+ this . timeout ( 240000 ) ; // 4 minutes
414+ gen . run ( { } , function ( ) {
415+ exec ( 'grunt test:e2e' , function ( error , stdout , stderr ) {
416+ expect ( stdout , 'Client tests failed \n' + stdout ) . to . contain ( '0 failures' ) ;
417+ done ( ) ;
418+ } ) ;
419+ } ) ;
420+ } ) ;
411421 } ) ;
412422
413423 describe ( 'with other preprocessors and no server options' , function ( ) {
@@ -461,6 +471,16 @@ describe('angular-fullstack generator', function () {
461471 assertOnlyFiles ( genFiles ( testOptions ) , done ) ;
462472 } ) ;
463473 } ) ;
474+
475+ it ( 'should run e2e tests successfully' , function ( done ) {
476+ this . timeout ( 240000 ) ; // 4 minutes
477+ gen . run ( { } , function ( ) {
478+ exec ( 'grunt test:e2e' , function ( error , stdout , stderr ) {
479+ expect ( stdout , 'Client tests failed \n' + stdout ) . to . contain ( '0 failures' ) ;
480+ done ( ) ;
481+ } ) ;
482+ } ) ;
483+ } ) ;
464484 } ) ;
465485
466486 describe ( 'with no preprocessors and no server options' , function ( ) {
@@ -506,6 +526,16 @@ describe('angular-fullstack generator', function () {
506526 assertOnlyFiles ( genFiles ( testOptions ) , done ) ;
507527 } ) ;
508528 } ) ;
529+
530+ it ( 'should run e2e tests successfully' , function ( done ) {
531+ this . timeout ( 240000 ) ; // 4 minutes
532+ gen . run ( { } , function ( ) {
533+ exec ( 'grunt test:e2e' , function ( error , stdout , stderr ) {
534+ expect ( stdout , 'Client tests failed \n' + stdout ) . to . contain ( '0 failures' ) ;
535+ done ( ) ;
536+ } ) ;
537+ } ) ;
538+ } ) ;
509539 } ) ;
510540 } ) ;
511541} ) ;
0 commit comments