diff --git a/test/e2e/Progress.test.js b/test/e2e/Progress.test.js index 302a8ab5b8..6cfa00f0f4 100644 --- a/test/e2e/Progress.test.js +++ b/test/e2e/Progress.test.js @@ -48,11 +48,8 @@ describe('client progress', () => { ); page.waitFor(10000).then(() => { browser.close().then(() => { - // example output that would match: - // "[WDS] 40% - building (0/1 modules)." - const testExp = /\[WDS\] [0-9]{1,3}% - building \([0-1]\/1 modules\)\./; const match = res.find((line) => { - return testExp.test(line); + return line === '[WDS] 100% - Compilation completed.'; }); // eslint-disable-next-line no-undefined expect(match).not.toEqual(undefined);