chore(e2e): remove e2e watch task (#2482)

This commit is contained in:
Paul Gschwendtner
2017-01-03 20:42:19 +01:00
committed by Kara
parent f3ad236c80
commit 329bfd08e4
2 changed files with 3 additions and 20 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ task('ci:forbidden-identifiers', function() {
// Travis sometimes does not exit the process and times out. This is to prevent that.
task('ci:test', ['test:single-run'], () => process.exit(0));
task('ci:e2e', ['e2e:single-run']);
task('ci:e2e', ['e2e']);
/** Task to verify that all components work with AOT compilation. */
task('ci:aot', ['aot:build']);
+2 -19
View File
@@ -56,31 +56,14 @@ task('serve:e2eapp', sequenceTask('build:components', 'build:e2eapp', ':serve:e2
task('serve:e2eapp:watch', ['serve:e2eapp', ':watch:components', ':watch:e2eapp']);
/**
* [Watch task] Serves the e2e app and runs the protractor tests. Rebuilds when sources change.
*
* This task should only be used when running the e2e tests locally.
* Builds and serves the e2e-app and runs protractor once the e2e-app is ready.
*/
task('e2e', (done: (err?: string) => void) => {
gulpRunSequence(
':test:protractor:setup',
'serve:e2eapp:watch',
':test:protractor',
':serve:e2eapp:stop',
(err: any) => gulpConnect.serverClose() && done(err)
);
});
/**
* Runs the e2e once. Does not watch for changes.
*
* This task should be used when running tests on the CI server.
*/
task('e2e:single-run', (done: (err?: string) => void) => {
gulpRunSequence(
':test:protractor:setup',
'serve:e2eapp',
':test:protractor',
':serve:e2eapp:stop',
(err: any) => gulpConnect.serverClose() && done(err)
(err: any) => done(err)
);
});