chore: refactor e2e tests to playwright #6467
Annotations
10 errors, 1 warning, and 1 notice
test/helpers/playwright-custom-expects.js#L13
1) [chromium] › web-socket-server-url.test.js:115:5 › web socket server URL › should work behind proxy, when hostnames are different and ports are same ("ws")
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js-snapshots/web-socket-server-URL-should-work-behind-proxy-e73e8-names-are-different-and-ports-are-same-ws-1-chromium-darwin.txt, writing actual.
at ../helpers/playwright-custom-expects.js:13
11 | try {
12 | const serialized = JSON.stringify(received);
> 13 | await expect(serialized).toMatchSnapshot();
| ^
14 | pass = true;
15 | } catch (e) {
16 | matcherResult = e.matcherResult;
at Object.toMatchSnapshotWithArray (/Users/runner/work/webpack-dev-server/webpack-dev-server/test/helpers/playwright-custom-expects.js:13:32)
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js:202:10
|
test/helpers/playwright-custom-expects.js#L13
1) [chromium] › web-socket-server-url.test.js:115:5 › web socket server URL › should work behind proxy, when hostnames are different and ports are same ("ws")
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js-snapshots/web-socket-server-URL-should-work-behind-proxy-230d0-names-are-different-and-ports-are-same-ws-2-chromium-darwin.txt, writing actual.
at ../helpers/playwright-custom-expects.js:13
11 | try {
12 | const serialized = JSON.stringify(received);
> 13 | await expect(serialized).toMatchSnapshot();
| ^
14 | pass = true;
15 | } catch (e) {
16 | matcherResult = e.matcherResult;
at Object.toMatchSnapshotWithArray (/Users/runner/work/webpack-dev-server/webpack-dev-server/test/helpers/playwright-custom-expects.js:13:32)
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js:203:28
|
test/helpers/playwright-custom-expects.js#L13
2) [chromium] › web-socket-server-url.test.js:212:5 › web socket server URL › should work behind proxy, when hostnames are different and ports are different ("ws")
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js-snapshots/web-socket-server-URL-should-work-behind-proxy-bc5e4--are-different-and-ports-are-different-ws-1-chromium-darwin.txt, writing actual.
at ../helpers/playwright-custom-expects.js:13
11 | try {
12 | const serialized = JSON.stringify(received);
> 13 | await expect(serialized).toMatchSnapshot();
| ^
14 | pass = true;
15 | } catch (e) {
16 | matcherResult = e.matcherResult;
at Object.toMatchSnapshotWithArray (/Users/runner/work/webpack-dev-server/webpack-dev-server/test/helpers/playwright-custom-expects.js:13:32)
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js:303:10
|
test/helpers/playwright-custom-expects.js#L13
2) [chromium] › web-socket-server-url.test.js:212:5 › web socket server URL › should work behind proxy, when hostnames are different and ports are different ("ws")
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js-snapshots/web-socket-server-URL-should-work-behind-proxy-9e926--are-different-and-ports-are-different-ws-2-chromium-darwin.txt, writing actual.
at ../helpers/playwright-custom-expects.js:13
11 | try {
12 | const serialized = JSON.stringify(received);
> 13 | await expect(serialized).toMatchSnapshot();
| ^
14 | pass = true;
15 | } catch (e) {
16 | matcherResult = e.matcherResult;
at Object.toMatchSnapshotWithArray (/Users/runner/work/webpack-dev-server/webpack-dev-server/test/helpers/playwright-custom-expects.js:13:32)
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js:304:28
|
test/helpers/playwright-custom-expects.js#L13
3) [chromium] › web-socket-server-url.test.js:314:5 › web socket server URL › should work behind proxy, when the "host" option is "local-ip" and the "port" option is "auto" ("ws")
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js-snapshots/web-socket-server-URL-should-work-behind-proxy-ea4a1-al-ip-and-the-port-option-is-auto-ws-1-chromium-darwin.txt, writing actual.
at ../helpers/playwright-custom-expects.js:13
11 | try {
12 | const serialized = JSON.stringify(received);
> 13 | await expect(serialized).toMatchSnapshot();
| ^
14 | pass = true;
15 | } catch (e) {
16 | matcherResult = e.matcherResult;
at Object.toMatchSnapshotWithArray (/Users/runner/work/webpack-dev-server/webpack-dev-server/test/helpers/playwright-custom-expects.js:13:32)
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js:405:10
|
test/helpers/playwright-custom-expects.js#L13
3) [chromium] › web-socket-server-url.test.js:314:5 › web socket server URL › should work behind proxy, when the "host" option is "local-ip" and the "port" option is "auto" ("ws")
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js-snapshots/web-socket-server-URL-should-work-behind-proxy-966c3-al-ip-and-the-port-option-is-auto-ws-2-chromium-darwin.txt, writing actual.
at ../helpers/playwright-custom-expects.js:13
11 | try {
12 | const serialized = JSON.stringify(received);
> 13 | await expect(serialized).toMatchSnapshot();
| ^
14 | pass = true;
15 | } catch (e) {
16 | matcherResult = e.matcherResult;
at Object.toMatchSnapshotWithArray (/Users/runner/work/webpack-dev-server/webpack-dev-server/test/helpers/playwright-custom-expects.js:13:32)
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js:406:28
|
test/helpers/playwright-custom-expects.js#L13
4) [chromium] › web-socket-server-url.test.js:2034:5 › web socket server URL › should work when "host" option is IPv4 ("ws")
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js-snapshots/web-socket-server-URL-should-work-when-host-option-is-IPv4-ws-1-chromium-darwin.txt, writing actual.
at ../helpers/playwright-custom-expects.js:13
11 | try {
12 | const serialized = JSON.stringify(received);
> 13 | await expect(serialized).toMatchSnapshot();
| ^
14 | pass = true;
15 | } catch (e) {
16 | matcherResult = e.matcherResult;
at Object.toMatchSnapshotWithArray (/Users/runner/work/webpack-dev-server/webpack-dev-server/test/helpers/playwright-custom-expects.js:13:32)
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js:2094:10
|
test/helpers/playwright-custom-expects.js#L13
4) [chromium] › web-socket-server-url.test.js:2034:5 › web socket server URL › should work when "host" option is IPv4 ("ws")
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js-snapshots/web-socket-server-URL-should-work-when-host-option-is-IPv4-ws-2-chromium-darwin.txt, writing actual.
at ../helpers/playwright-custom-expects.js:13
11 | try {
12 | const serialized = JSON.stringify(received);
> 13 | await expect(serialized).toMatchSnapshot();
| ^
14 | pass = true;
15 | } catch (e) {
16 | matcherResult = e.matcherResult;
at Object.toMatchSnapshotWithArray (/Users/runner/work/webpack-dev-server/webpack-dev-server/test/helpers/playwright-custom-expects.js:13:32)
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js:2095:28
|
test/helpers/playwright-custom-expects.js#L13
5) [chromium] › web-socket-server-url.test.js:2103:5 › web socket server URL › should work when "host" option is "local-ip" ("ws")
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js-snapshots/web-socket-server-URL-should-work-when-host-option-is-local-ip-ws-1-chromium-darwin.txt, writing actual.
at ../helpers/playwright-custom-expects.js:13
11 | try {
12 | const serialized = JSON.stringify(received);
> 13 | await expect(serialized).toMatchSnapshot();
| ^
14 | pass = true;
15 | } catch (e) {
16 | matcherResult = e.matcherResult;
at Object.toMatchSnapshotWithArray (/Users/runner/work/webpack-dev-server/webpack-dev-server/test/helpers/playwright-custom-expects.js:13:32)
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js:2164:10
|
test/helpers/playwright-custom-expects.js#L13
5) [chromium] › web-socket-server-url.test.js:2103:5 › web socket server URL › should work when "host" option is "local-ip" ("ws")
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js-snapshots/web-socket-server-URL-should-work-when-host-option-is-local-ip-ws-2-chromium-darwin.txt, writing actual.
at ../helpers/playwright-custom-expects.js:13
11 | try {
12 | const serialized = JSON.stringify(received);
> 13 | await expect(serialized).toMatchSnapshot();
| ^
14 | pass = true;
15 | } catch (e) {
16 | matcherResult = e.matcherResult;
at Object.toMatchSnapshotWithArray (/Users/runner/work/webpack-dev-server/webpack-dev-server/test/helpers/playwright-custom-expects.js:13:32)
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-server-url.test.js:2165:28
|
[chromium] › watch-files.test.js#L1
[chromium] › watch-files.test.js took 22.6s
|
12 failed
[chromium] › web-socket-server-url.test.js:115:5 › web socket server URL › should work behind proxy, when hostnames are different and ports are same ("ws")
[chromium] › web-socket-server-url.test.js:212:5 › web socket server URL › should work behind proxy, when hostnames are different and ports are different ("ws")
[chromium] › web-socket-server-url.test.js:314:5 › web socket server URL › should work behind proxy, when the "host" option is "local-ip" and the "port" option is "auto" ("ws")
[chromium] › web-socket-server-url.test.js:2034:5 › web socket server URL › should work when "host" option is IPv4 ("ws")
[chromium] › web-socket-server-url.test.js:2103:5 › web socket server URL › should work when "host" option is "local-ip" ("ws")
[chromium] › web-socket-server-url.test.js:2173:5 › web socket server URL › should work when "host" option is "local-ipv4" ("ws")
[chromium] › web-socket-server-url.test.js:115:5 › web socket server URL › should work behind proxy, when hostnames are different and ports are same ("sockjs")
[chromium] › web-socket-server-url.test.js:212:5 › web socket server URL › should work behind proxy, when hostnames are different and ports are different ("sockjs")
[chromium] › web-socket-server-url.test.js:314:5 › web socket server URL › should work behind proxy, when the "host" option is "local-ip" and the "port" option is "auto" ("sockjs")
[chromium] › web-socket-server-url.test.js:2034:5 › web socket server URL › should work when "host" option is IPv4 ("sockjs")
[chromium] › web-socket-server-url.test.js:2103:5 › web socket server URL › should work when "host" option is "local-ip" ("sockjs")
[chromium] › web-socket-server-url.test.js:2173:5 › web socket server URL › should work when "host" option is "local-ipv4" ("sockjs")
2 skipped
103 passed (1.9m)
|
This job failed
Loading