diff --git a/tests/e2e/tests/build/rebuild-css-change.ts b/tests/e2e/tests/build/rebuild-css-change.ts index 8e8a9ce1fdfd..666334ded735 100644 --- a/tests/e2e/tests/build/rebuild-css-change.ts +++ b/tests/e2e/tests/build/rebuild-css-change.ts @@ -17,10 +17,10 @@ export default function() { return silentExecAndWaitForOutputToMatch('ng', ['serve'], webpackGoodRegEx) // Should trigger a rebuild. .then(() => exec('touch', 'src/main.ts')) - .then(() => waitForAnyProcessOutputToMatch(webpackBadRegEx, 1000)) + .then(() => waitForAnyProcessOutputToMatch(webpackBadRegEx, 5000)) .then(() => waitForAnyProcessOutputToMatch(webpackGoodRegEx, 5000)) .then(() => appendToFile('src/app/app.component.css', ':host { color: blue; }')) - .then(() => waitForAnyProcessOutputToMatch(webpackBadRegEx, 1000)) + .then(() => waitForAnyProcessOutputToMatch(webpackBadRegEx, 5000)) .then(() => waitForAnyProcessOutputToMatch(webpackGoodRegEx, 5000)) .then(() => killAllProcesses(), (err: any) => { killAllProcesses(); diff --git a/tests/e2e/tests/build/rebuild.ts b/tests/e2e/tests/build/rebuild.ts index c2cee3f0b572..a26385cb5934 100644 --- a/tests/e2e/tests/build/rebuild.ts +++ b/tests/e2e/tests/build/rebuild.ts @@ -22,7 +22,7 @@ export default function() { // Should trigger a rebuild. .then(() => exec('touch', 'src/main.ts')) .then(() => waitForAnyProcessOutputToMatch( - /webpack: bundle is now INVALID|webpack: Compiling.../, 1000)) + /webpack: bundle is now INVALID|webpack: Compiling.../, 5000)) .then(() => waitForAnyProcessOutputToMatch( /webpack: bundle is now VALID|webpack: Compiled successfully./, 5000)) // Count the bundles. @@ -61,7 +61,7 @@ export default function() { `)) // Should trigger a rebuild with a new bundle. .then(() => waitForAnyProcessOutputToMatch( - /webpack: bundle is now INVALID|webpack: Compiling.../, 1000)) + /webpack: bundle is now INVALID|webpack: Compiling.../, 5000)) .then(() => waitForAnyProcessOutputToMatch( /webpack: bundle is now VALID|webpack: Compiled successfully./, 5000)) // Count the bundles.