diff --git a/test/e2e/__snapshots__/client.test.js.snap.webpack4 b/test/e2e/__snapshots__/client.test.js.snap.webpack4 index 9b56611e80..d6f85f5a2f 100644 --- a/test/e2e/__snapshots__/client.test.js.snap.webpack4 +++ b/test/e2e/__snapshots__/client.test.js.snap.webpack4 @@ -1,14 +1,10 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`client option configure client entry should disable client entry: console messages 1`] = ` -Array [ - "Failed to load resource: the server responded with a status of 404 (Not Found)", -] -`; +exports[`client option configure client entry should disable client entry: console messages 1`] = `Array []`; exports[`client option configure client entry should disable client entry: page errors 1`] = `Array []`; -exports[`client option configure client entry should disable client entry: response status 1`] = `404`; +exports[`client option configure client entry should disable client entry: response status 1`] = `200`; exports[`client option default behaviour responds with a 200 status code for /ws path: console messages 1`] = `Array []`; diff --git a/test/e2e/__snapshots__/client.test.js.snap.webpack5 b/test/e2e/__snapshots__/client.test.js.snap.webpack5 index 9b56611e80..d6f85f5a2f 100644 --- a/test/e2e/__snapshots__/client.test.js.snap.webpack5 +++ b/test/e2e/__snapshots__/client.test.js.snap.webpack5 @@ -1,14 +1,10 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`client option configure client entry should disable client entry: console messages 1`] = ` -Array [ - "Failed to load resource: the server responded with a status of 404 (Not Found)", -] -`; +exports[`client option configure client entry should disable client entry: console messages 1`] = `Array []`; exports[`client option configure client entry should disable client entry: page errors 1`] = `Array []`; -exports[`client option configure client entry should disable client entry: response status 1`] = `404`; +exports[`client option configure client entry should disable client entry: response status 1`] = `200`; exports[`client option default behaviour responds with a 200 status code for /ws path: console messages 1`] = `Array []`; diff --git a/test/e2e/client.test.js b/test/e2e/client.test.js index a2721af77e..4d17ee2cf2 100644 --- a/test/e2e/client.test.js +++ b/test/e2e/client.test.js @@ -178,12 +178,9 @@ describe("client option", () => { pageErrors.push(error); }); - const response = await page.goto( - `http://127.0.0.1:${port}/foo/test/bar`, - { - waitUntil: "networkidle0", - } - ); + const response = await page.goto(`http://127.0.0.1:${port}/main.js`, { + waitUntil: "networkidle0", + }); expect(response.status()).toMatchSnapshot("response status");