chore: refactor e2e tests to playwright #6470
Annotations
10 errors, 3 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/snaps/host.test.js/host-should-work-using-local-ip-host-and-port-as-number-1.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/snaps/host.test.js/host-should-work-using-local-ip-host-and-port-as-number-2.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/snaps/host.test.js/host-should-work-using-local-ip-host-and-port-as-string-1.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/snaps/host.test.js/host-should-work-using-local-ip-host-and-port-as-string-2.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/snaps/host.test.js/host-should-work-using-local-ip-host-and-auto-port-1.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/snaps/host.test.js/host-should-work-using-local-ip-host-and-auto-port-2.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/snaps/host.test.js/host-should-work-using-local-ipv4-host-and-port-as-number-1.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/snaps/host.test.js/host-should-work-using-local-ipv4-host-and-port-as-number-2.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/snaps/host.test.js/host-should-work-using-local-ipv4-host-and-port-as-string-1.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/snaps/host.test.js/host-should-work-using-local-ipv4-host-and-port-as-string-2.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] › hot-and-live-reload.test.js#L1
[chromium] › hot-and-live-reload.test.js took 26.4s
|
[chromium] › multi-compiler.test.js#L1
[chromium] › multi-compiler.test.js took 21.4s
|
[chromium] › logging.test.js#L1
[chromium] › logging.test.js took 19.2s
|
6 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 ───
4 skipped
110 passed (1.7m)
|
This job failed
Loading