chore: refactor e2e tests to playwright #6467
Annotations
10 errors and 1 notice
test\helpers\playwright-custom-expects.js#L13
1) [chromium] › host.test.js:50:5 › host › should work using "<not-specified>" host and port as number
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js-snapshots\host-should-work-using-not-specified-host-and-port-as-number-1-chromium-win32.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 (D:\a\webpack-dev-server\webpack-dev-server\test\helpers\playwright-custom-expects.js:13:32)
at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js:112:10
|
test\helpers\playwright-custom-expects.js#L13
1) [chromium] › host.test.js:50:5 › host › should work using "<not-specified>" host and port as number
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js-snapshots\host-should-work-using-not-specified-host-and-port-as-number-2-chromium-win32.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 (D:\a\webpack-dev-server\webpack-dev-server\test\helpers\playwright-custom-expects.js:13:32)
at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js:114:28
|
test\helpers\playwright-custom-expects.js#L13
2) [chromium] › host.test.js:122:5 › host › should work using "<not-specified>" host and port as string
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js-snapshots\host-should-work-using-not-specified-host-and-port-as-string-1-chromium-win32.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 (D:\a\webpack-dev-server\webpack-dev-server\test\helpers\playwright-custom-expects.js:13:32)
at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js:184:10
|
test\helpers\playwright-custom-expects.js#L13
2) [chromium] › host.test.js:122:5 › host › should work using "<not-specified>" host and port as string
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js-snapshots\host-should-work-using-not-specified-host-and-port-as-string-2-chromium-win32.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 (D:\a\webpack-dev-server\webpack-dev-server\test\helpers\playwright-custom-expects.js:13:32)
at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js:186:28
|
test\helpers\playwright-custom-expects.js#L13
3) [chromium] › host.test.js:194:5 › host › should work using "<not-specified>" host and "auto" port
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js-snapshots\host-should-work-using-not-specified-host-and-auto-port-1-chromium-win32.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 (D:\a\webpack-dev-server\webpack-dev-server\test\helpers\playwright-custom-expects.js:13:32)
at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js:260:10
|
test\helpers\playwright-custom-expects.js#L13
3) [chromium] › host.test.js:194:5 › host › should work using "<not-specified>" host and "auto" port
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js-snapshots\host-should-work-using-not-specified-host-and-auto-port-2-chromium-win32.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 (D:\a\webpack-dev-server\webpack-dev-server\test\helpers\playwright-custom-expects.js:13:32)
at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js:262:28
|
test\helpers\playwright-custom-expects.js#L13
4) [chromium] › host.test.js:50:5 › host › should work using "undefined" host and port as number ─
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js-snapshots\host-should-work-using-undefined-host-and-port-as-number-1-chromium-win32.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 (D:\a\webpack-dev-server\webpack-dev-server\test\helpers\playwright-custom-expects.js:13:32)
at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js:112:10
|
test\helpers\playwright-custom-expects.js#L13
4) [chromium] › host.test.js:50:5 › host › should work using "undefined" host and port as number ─
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js-snapshots\host-should-work-using-undefined-host-and-port-as-number-2-chromium-win32.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 (D:\a\webpack-dev-server\webpack-dev-server\test\helpers\playwright-custom-expects.js:13:32)
at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js:114:28
|
test\helpers\playwright-custom-expects.js#L13
5) [chromium] › host.test.js:122:5 › host › should work using "undefined" host and port as string
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js-snapshots\host-should-work-using-undefined-host-and-port-as-string-1-chromium-win32.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 (D:\a\webpack-dev-server\webpack-dev-server\test\helpers\playwright-custom-expects.js:13:32)
at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js:184:10
|
test\helpers\playwright-custom-expects.js#L13
5) [chromium] › host.test.js:122:5 › host › should work using "undefined" host and port as string
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js-snapshots\host-should-work-using-undefined-host-and-port-as-string-2-chromium-win32.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 (D:\a\webpack-dev-server\webpack-dev-server\test\helpers\playwright-custom-expects.js:13:32)
at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\host.test.js:186:28
|
113 failed
[chromium] › host.test.js:50:5 › host › should work using "<not-specified>" host and port as number
[chromium] › host.test.js:122:5 › host › should work using "<not-specified>" host and port as string
[chromium] › host.test.js:194:5 › host › should work using "<not-specified>" host and "auto" port
[chromium] › host.test.js:50:5 › host › should work using "undefined" host and port as number ──
[chromium] › host.test.js:122:5 › host › should work using "undefined" host and port as string ─
[chromium] › host.test.js:194:5 › host › should work using "undefined" host and "auto" port ────
[chromium] › host.test.js:50:5 › host › should work using "0.0.0.0" host and port as number ────
[chromium] › host.test.js:122:5 › host › should work using "0.0.0.0" host and port as string ───
[chromium] › host.test.js:194:5 › host › should work using "0.0.0.0" host and "auto" port ──────
[chromium] › host.test.js:50:5 › host › should work using "::" host and port as number ─────────
[chromium] › host.test.js:122:5 › host › should work using "::" host and port as string ────────
[chromium] › host.test.js:194:5 › host › should work using "::" host and "auto" port ───────────
[chromium] › host.test.js:50:5 › host › should work using "localhost" host and port as number ──
[chromium] › host.test.js:122:5 › host › should work using "localhost" host and port as string ─
[chromium] › host.test.js:194:5 › host › should work using "localhost" host and "auto" port ────
[chromium] › host.test.js:50:5 › host › should work using "::1" host and port as number ────────
[chromium] › host.test.js:122:5 › host › should work using "::1" host and port as string ───────
[chromium] › host.test.js:194:5 › host › should work using "::1" host and "auto" port ──────────
[chromium] › host.test.js:50:5 › host › should work using "127.0.0.1" host and port as number ──
[chromium] › host.test.js:122:5 › host › should work using "127.0.0.1" host and port as string ─
[chromium] › host.test.js:194:5 › host › should work using "127.0.0.1" host and "auto" port ────
[chromium] › host.test.js:50:5 › host › should work using "local-ip" host and port as number ───
[chromium] › host.test.js:122:5 › host › should work using "local-ip" host and port as string ──
[chromium] › host.test.js:194:5 › host › should work using "local-ip" host and "auto" port ─────
[chromium] › host.test.js:50:5 › host › should work using "local-ipv4" host and port as number ─
[chromium] › host.test.js:122:5 › host › should work using "local-ipv4" host and port as string
[chromium] › host.test.js:194:5 › host › should work using "local-ipv4" host and "auto" port ───
[chromium] › host.test.js:50:5 › host › should work using "local-ipv6" host and port as number ─
[chromium] › host.test.js:122:5 › host › should work using "local-ipv6" host and port as string
[chromium] › host.test.js:194:5 › host › should work using "local-ipv6" host and "auto" port ───
[chromium] › hot-and-live-reload.test.js:328:5 › hot and live reload › should work and refresh content using hot module replacement (default)
[chromium] › hot-and-live-reload.test.js:328:5 › hot and live reload › should work and do nothing when web socket server disabled (default)
[chromium] › hot-and-live-reload.test.js:328:5 › hot and live reload › should work and refresh content using hot module replacement when hot enabled (default)
[chromium] › hot-and-live-reload.test.js:328:5 › hot and live reload › should work and refresh content using hot module replacement when live reload enabled (default)
[chromium] › hot-and-live-reload.test.js:328:5 › hot and live reload › should not refresh content when hot and no live reload disabled (default)
[chromium] › hot-and-live-reload.test.js:328:5 › hot and live reload › should work and refresh content using hot module replacement when live reload disabled and hot enabled (default)
[chromium] › hot-and-live-reload.test.js:328:5 › hot and live reload ›
|
This job failed
Loading