chore: refactor e2e tests to playwright #6529
Annotations
10 errors and 1 notice
Run E2E tests for webpack version latest:
test/helpers/playwright-custom-expects.js#L41
1) [chromium] › hot-and-live-reload.test.js:328:5 › hot and live reload › should work and refresh content using hot module replacement (default)
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/__snapshots__/hot-and-live-reload.test.js/hot-and-live-reload-should-work-and-refresh-content-using-hot-module-replacement-default-undefined-snap.webpack5, writing actual.
at ../helpers/playwright-custom-expects.js:41
39 | try {
40 | const serialized = JSON.stringify(received);
> 41 | await expect(serialized).toMatchSnapshot({
| ^
42 | name: snapshotFilePath,
43 | });
44 | pass = true;
at Object.toMatchSnapshotWithArray (/Users/runner/work/webpack-dev-server/webpack-dev-server/test/helpers/playwright-custom-expects.js:41:32)
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/hot-and-live-reload.test.js:559:31
|
Run E2E tests for webpack version latest:
test/e2e/hot-and-live-reload.test.js#L560
1) [chromium] › hot-and-live-reload.test.js:328:5 › hot and live reload › should work and refresh content using hot module replacement (default)
Error: expect(received).toMatchSnapshotWithArray(expected)
Expected: "/Users/runner/work/webpack-dev-server/webpack-dev-server/test-results/hot-and-live-reload-hot-an-ab1f8-module-replacement-default--chromium/hot-and-live-reload-should-work-and-refresh-content-using-hot-module-replacement-default-undefined-snap-1-actual.webpack5"
Received: []
558 |
559 | expect(consoleMessages).toMatchSnapshotWithArray();
> 560 | expect(pageErrors).toMatchSnapshotWithArray();
| ^
561 | });
562 | });
563 | });
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/hot-and-live-reload.test.js:560:26
|
Run E2E tests for webpack version latest:
test/helpers/playwright-custom-expects.js#L41
2) [chromium] › hot-and-live-reload.test.js:328:5 › hot and live reload › should work and do nothing when web socket server disabled (default)
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/__snapshots__/hot-and-live-reload.test.js/hot-and-live-reload-should-work-and-do-nothing-when-web-socket-server-disabled-default-undefined-snap.webpack5, writing actual.
at ../helpers/playwright-custom-expects.js:41
39 | try {
40 | const serialized = JSON.stringify(received);
> 41 | await expect(serialized).toMatchSnapshot({
| ^
42 | name: snapshotFilePath,
43 | });
44 | pass = true;
at Object.toMatchSnapshotWithArray (/Users/runner/work/webpack-dev-server/webpack-dev-server/test/helpers/playwright-custom-expects.js:41:32)
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/hot-and-live-reload.test.js:559:31
|
Run E2E tests for webpack version latest:
test/helpers/playwright-custom-expects.js#L41
3) [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)
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/__snapshots__/hot-and-live-reload.test.js/hot-and-live-reload-should-work-and-refresh-content-using-hot-module-replacement-when-hot-enabled-default-undefined-snap.webpack5, writing actual.
at ../helpers/playwright-custom-expects.js:41
39 | try {
40 | const serialized = JSON.stringify(received);
> 41 | await expect(serialized).toMatchSnapshot({
| ^
42 | name: snapshotFilePath,
43 | });
44 | pass = true;
at Object.toMatchSnapshotWithArray (/Users/runner/work/webpack-dev-server/webpack-dev-server/test/helpers/playwright-custom-expects.js:41:32)
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/hot-and-live-reload.test.js:559:31
|
Run E2E tests for webpack version latest:
test/e2e/hot-and-live-reload.test.js#L560
3) [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)
Error: expect(received).toMatchSnapshotWithArray(expected)
Expected: "/Users/runner/work/webpack-dev-server/webpack-dev-server/test-results/hot-and-live-reload-hot-an-c1518-t-when-hot-enabled-default--chromium/hot-and-live-reload-should-work-and-refresh-content-using-hot-module-replacement-when-hot-enabled-default-undefined-snap-1-actual.webpack5"
Received: []
558 |
559 | expect(consoleMessages).toMatchSnapshotWithArray();
> 560 | expect(pageErrors).toMatchSnapshotWithArray();
| ^
561 | });
562 | });
563 | });
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/hot-and-live-reload.test.js:560:26
|
Run E2E tests for webpack version latest:
test/helpers/playwright-custom-expects.js#L41
4) [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)
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/__snapshots__/hot-and-live-reload.test.js/hot-and-live-reload-should-work-and-refresh-content-using-hot-module-replacement-when-live-reload-enabled-default-undefined-snap.webpack5, writing actual.
at ../helpers/playwright-custom-expects.js:41
39 | try {
40 | const serialized = JSON.stringify(received);
> 41 | await expect(serialized).toMatchSnapshot({
| ^
42 | name: snapshotFilePath,
43 | });
44 | pass = true;
at Object.toMatchSnapshotWithArray (/Users/runner/work/webpack-dev-server/webpack-dev-server/test/helpers/playwright-custom-expects.js:41:32)
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/hot-and-live-reload.test.js:559:31
|
Run E2E tests for webpack version latest:
test/e2e/hot-and-live-reload.test.js#L560
4) [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)
Error: expect(received).toMatchSnapshotWithArray(expected)
Expected: "/Users/runner/work/webpack-dev-server/webpack-dev-server/test-results/hot-and-live-reload-hot-an-bee10-ive-reload-enabled-default--chromium/hot-and-live-reload-should-work-and-refresh-content-using-hot-module-replacement-when-live-reload-enabled-default-undefined-snap-1-actual.webpack5"
Received: []
558 |
559 | expect(consoleMessages).toMatchSnapshotWithArray();
> 560 | expect(pageErrors).toMatchSnapshotWithArray();
| ^
561 | });
562 | });
563 | });
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/hot-and-live-reload.test.js:560:26
|
Run E2E tests for webpack version latest:
test/helpers/playwright-custom-expects.js#L41
5) [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)
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/__snapshots__/hot-and-live-reload.test.js/hot-and-live-reload-should-not-refresh-content-when-hot-and-no-live-reload-disabled-default-undefined-snap.webpack5, writing actual.
at ../helpers/playwright-custom-expects.js:41
39 | try {
40 | const serialized = JSON.stringify(received);
> 41 | await expect(serialized).toMatchSnapshot({
| ^
42 | name: snapshotFilePath,
43 | });
44 | pass = true;
at Object.toMatchSnapshotWithArray (/Users/runner/work/webpack-dev-server/webpack-dev-server/test/helpers/playwright-custom-expects.js:41:32)
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/hot-and-live-reload.test.js:559:31
|
Run E2E tests for webpack version latest:
test/e2e/hot-and-live-reload.test.js#L560
5) [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)
Error: expect(received).toMatchSnapshotWithArray(expected)
Expected: "/Users/runner/work/webpack-dev-server/webpack-dev-server/test-results/hot-and-live-reload-hot-an-56671-ve-reload-disabled-default--chromium/hot-and-live-reload-should-not-refresh-content-when-hot-and-no-live-reload-disabled-default-undefined-snap-1-actual.webpack5"
Received: []
558 |
559 | expect(consoleMessages).toMatchSnapshotWithArray();
> 560 | expect(pageErrors).toMatchSnapshotWithArray();
| ^
561 | });
562 | });
563 | });
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/hot-and-live-reload.test.js:560:26
|
Run E2E tests for webpack version latest:
test/helpers/playwright-custom-expects.js#L41
6) [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)
Error: A snapshot doesn't exist at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/__snapshots__/hot-and-live-reload.test.js/hot-and-live-reload-should-work-and-refresh-content-using-hot-module-replacement-when-live-reload-disabled-and-hot-enabled-default-undefined-snap.webpack5, writing actual.
at ../helpers/playwright-custom-expects.js:41
39 | try {
40 | const serialized = JSON.stringify(received);
> 41 | await expect(serialized).toMatchSnapshot({
| ^
42 | name: snapshotFilePath,
43 | });
44 | pass = true;
at Object.toMatchSnapshotWithArray (/Users/runner/work/webpack-dev-server/webpack-dev-server/test/helpers/playwright-custom-expects.js:41:32)
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/hot-and-live-reload.test.js:559:31
|
Run E2E tests for webpack version latest
120 failed
[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 › should work and refresh content using live reload (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 not refresh content when hot and no live reload disabled (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 live reload when live reload enabled and hot disabled (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 not refresh content when hot and no live reload disabled (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 live reload 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 and allow to disable hot module replacement using the "webpack-dev-server-hot=false" (default)
[chromium] › hot-and-live-reload.test.js:328:5 › hot and live reload › should work and allow to disable live reload using the "webpack-dev-server-live-reload=false" (default)
[chromium] › hot-and-live-reload.test.js:328:5 › hot and live reload › should work and allow to disable hot module replacement and live reload using the "webpack-dev-server-hot=false&webpack-dev-server-live-reload=false" (default)
[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.te
|
Loading