@@ -149,7 +149,7 @@ describe('angular-fullstack generator', function () {
149149 'server/api/thing/index.js' ,
150150 'server/api/thing/index.spec.js' ,
151151 'server/api/thing/thing.controller.js' ,
152- 'server/api/thing/thing.e2e .js' ,
152+ 'server/api/thing/thing.integration .js' ,
153153 'server/components/errors/index.js' ,
154154 'server/config/local.env.js' ,
155155 'server/config/local.env.sample.js' ,
@@ -215,7 +215,7 @@ describe('angular-fullstack generator', function () {
215215 'server/api/user/index.js' ,
216216 'server/api/user/index.spec.js' ,
217217 'server/api/user/user.controller.js' ,
218- 'server/api/user/user.e2e .js' ,
218+ 'server/api/user/user.integration .js' ,
219219 'server/api/user/user.model.js' ,
220220 'server/api/user/user.model.spec.js' ,
221221 'server/auth/index.js' ,
@@ -347,17 +347,15 @@ describe('angular-fullstack generator', function () {
347347 } ) ;
348348 } ) ;
349349
350- // it('should run e2e tests successfully', function(done) {
351- // this.timeout(80000);
352- // gen.run({}, function () {
353- // exec('npm run update-webdriver', function (error, stdout, stderr) {
354- // exec('grunt test:e2e', function (error, stdout, stderr) {
355- // expect(stdout, 'Client tests failed \n' + stdout ).to.contain('Done, without errors.');
356- // done();
357- // });
358- // });
359- // })
360- // });
350+ it ( 'should run e2e tests successfully' , function ( done ) {
351+ this . timeout ( 80000 ) ;
352+ gen . run ( { } , function ( ) {
353+ exec ( 'grunt test:e2e' , function ( error , stdout , stderr ) {
354+ expect ( stdout , 'Client tests failed \n' + stdout ) . to . contain ( '0 failures' ) ;
355+ done ( ) ;
356+ } ) ;
357+ } ) ;
358+ } ) ;
361359 } ) ;
362360
363361 describe ( 'with other preprocessors and oauth' , function ( ) {
0 commit comments