chore: refactor e2e tests to playwright #6467
Annotations
10 errors, 2 warnings, and 1 notice
test/helpers/playwright-custom-expects.js#L13
1) [chromium] › host.test.js:50:5 › host › should work using "local-ip" host and port as number ──
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/host.test.js-snapshots/host-should-work-using-local-ip-host-and-port-as-number-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/host.test.js:112:10
|
test/helpers/playwright-custom-expects.js#L13
1) [chromium] › host.test.js:50:5 › host › should work using "local-ip" host and port as number ──
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/host.test.js-snapshots/host-should-work-using-local-ip-host-and-port-as-number-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/host.test.js:114:28
|
test/helpers/playwright-custom-expects.js#L13
2) [chromium] › host.test.js:122:5 › host › should work using "local-ip" host and port as string ─
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/host.test.js-snapshots/host-should-work-using-local-ip-host-and-port-as-string-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/host.test.js:184:10
|
test/helpers/playwright-custom-expects.js#L13
2) [chromium] › host.test.js:122:5 › host › should work using "local-ip" host and port as string ─
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/host.test.js-snapshots/host-should-work-using-local-ip-host-and-port-as-string-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/host.test.js:186:28
|
test/helpers/playwright-custom-expects.js#L13
3) [chromium] › host.test.js:194:5 › host › should work using "local-ip" host and "auto" port ────
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/host.test.js-snapshots/host-should-work-using-local-ip-host-and-auto-port-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/host.test.js:260:10
|
test/helpers/playwright-custom-expects.js#L13
3) [chromium] › host.test.js:194:5 › host › should work using "local-ip" host and "auto" port ────
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/host.test.js-snapshots/host-should-work-using-local-ip-host-and-auto-port-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/host.test.js:262:28
|
test/helpers/playwright-custom-expects.js#L13
4) [chromium] › host.test.js:50:5 › host › should work using "local-ipv4" host and port as number
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/host.test.js-snapshots/host-should-work-using-local-ipv4-host-and-port-as-number-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/host.test.js:112:10
|
test/helpers/playwright-custom-expects.js#L13
4) [chromium] › host.test.js:50:5 › host › should work using "local-ipv4" host and port as number
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/host.test.js-snapshots/host-should-work-using-local-ipv4-host-and-port-as-number-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/host.test.js:114:28
|
test/helpers/playwright-custom-expects.js#L13
5) [chromium] › host.test.js:122:5 › host › should work using "local-ipv4" host and port as string
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/host.test.js-snapshots/host-should-work-using-local-ipv4-host-and-port-as-string-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/host.test.js:184:10
|
test/helpers/playwright-custom-expects.js#L13
5) [chromium] › host.test.js:122:5 › host › should work using "local-ipv4" host and port as string
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/host.test.js-snapshots/host-should-work-using-local-ipv4-host-and-port-as-string-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/host.test.js:186:28
|
[chromium] › multi-compiler.test.js#L1
[chromium] › multi-compiler.test.js took 21.2s
|
[chromium] › logging.test.js#L1
[chromium] › logging.test.js took 18.8s
|
21 failed
[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] › 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 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 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 › should work and refresh content using hot module replacement when live reload enabled and hot 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 (ws)
[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 (ws)
[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 (ws)
[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 and hot enabled (ws)
[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 (sockjs)
[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 (sockjs)
[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 (sockjs)
[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 and hot enabled (sockjs)
[chromium] › hot-and-live-reload.test.js:328:5 › hot and live reload › should work with manual client setup (default)
[chromium] › hot-and-live-reload.test.js:328:5 › hot and live reload › should work with manual client setup and allow to enable hot module replacement (default)
4 skipped
95 passed (3.0m)
|
This job failed
Loading