chore: refactor e2e tests to playwright #6467
Annotations
10 errors and 1 notice
test\helpers\playwright-custom-expects.js#L13
1) [chromium] › on-listening.test.js:57:3 › onListening option › should handle GET request to /listening/some/path route
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\on-listening.test.js-snapshots\onListening-option-should-handle-GET-request-to-listening-some-path-route-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\on-listening.test.js:79:7
|
test\helpers\playwright-custom-expects.js#L13
1) [chromium] › on-listening.test.js:57:3 › onListening option › should handle GET request to /listening/some/path route
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\on-listening.test.js-snapshots\onListening-option-should-handle-GET-request-to-listening-some-path-route-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\on-listening.test.js:81:31
|
test\helpers\playwright-custom-expects.js#L13
1) [chromium] › on-listening.test.js:57:3 › onListening option › should handle GET request to /listening/some/path route
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\on-listening.test.js-snapshots\onListening-option-should-handle-GET-request-to-listening-some-path-route-3-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\on-listening.test.js:83:35
|
test\helpers\playwright-custom-expects.js#L13
1) [chromium] › on-listening.test.js:57:3 › onListening option › should handle GET request to /listening/some/path route
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\on-listening.test.js-snapshots\onListening-option-should-handle-GET-request-to-listening-some-path-route-4-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\on-listening.test.js:87:7
|
test\helpers\playwright-custom-expects.js#L13
1) [chromium] › on-listening.test.js:57:3 › onListening option › should handle GET request to /listening/some/path route
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\on-listening.test.js-snapshots\onListening-option-should-handle-GET-request-to-listening-some-path-route-5-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\on-listening.test.js:89:24
|
test\helpers\playwright-custom-expects.js#L13
2) [chromium] › on-listening.test.js:92:3 › onListening option › should handle POST request to /listening/some/path route
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\on-listening.test.js-snapshots\onListening-option-should-handle-POST-request-to-listening-some-path-route-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\on-listening.test.js:118:7
|
test\helpers\playwright-custom-expects.js#L13
2) [chromium] › on-listening.test.js:92:3 › onListening option › should handle POST request to /listening/some/path route
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\on-listening.test.js-snapshots\onListening-option-should-handle-POST-request-to-listening-some-path-route-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\on-listening.test.js:120:31
|
test\helpers\playwright-custom-expects.js#L13
2) [chromium] › on-listening.test.js:92:3 › onListening option › should handle POST request to /listening/some/path route
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\on-listening.test.js-snapshots\onListening-option-should-handle-POST-request-to-listening-some-path-route-3-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\on-listening.test.js:122:35
|
test\helpers\playwright-custom-expects.js#L13
2) [chromium] › on-listening.test.js:92:3 › onListening option › should handle POST request to /listening/some/path route
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\on-listening.test.js-snapshots\onListening-option-should-handle-POST-request-to-listening-some-path-route-4-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\on-listening.test.js:126:7
|
test\helpers\playwright-custom-expects.js#L13
2) [chromium] › on-listening.test.js:92:3 › onListening option › should handle POST request to /listening/some/path route
Error: A snapshot doesn't exist at D:\a\webpack-dev-server\webpack-dev-server\test\e2e\on-listening.test.js-snapshots\onListening-option-should-handle-POST-request-to-listening-some-path-route-5-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\on-listening.test.js:128:24
|
103 failed
[chromium] › on-listening.test.js:57:3 › onListening option › should handle GET request to /listening/some/path route
[chromium] › on-listening.test.js:92:3 › onListening option › should handle POST request to /listening/some/path route
[chromium] › options-middleware.test.js:27:3 › handle options-request correctly › should response with 200 http code
[chromium] › overlay.test.js:82:3 › overlay › should show a warning for initial compilation ────
[chromium] › overlay.test.js:128:3 › overlay › should show an error for initial compilation ────
[chromium] › overlay.test.js:174:3 › overlay › should show a warning and error for initial compilation
[chromium] › overlay.test.js:226:3 › overlay › should show an ansi formatted error for initial compilation
[chromium] › overlay.test.js:276:3 › overlay › should show a warning and error for initial compilation and protects against xss
[chromium] › overlay.test.js:325:3 › overlay › should not show initially, then show on an error, then hide on fix
[chromium] › overlay.test.js:407:3 › overlay › should not show initially, then show on an error, then show other error, then hide on fix
[chromium] › overlay.test.js:517:3 › overlay › should not show initially, then show on an error and allow to close
[chromium] › overlay.test.js:607:3 › overlay › should open editor when error with file info is clicked
[chromium] › overlay.test.js:656:3 › overlay › should not show a warning when "client.overlay" is "false"
[chromium] › overlay.test.js:698:3 › overlay › should not show a warning when "client.overlay.warnings" is "false"
[chromium] › overlay.test.js:742:3 › overlay › should not show warning when it is filtered ─────
[chromium] › overlay.test.js:783:3 › overlay › should show warning when it is not filtered ─────
[chromium] › overlay.test.js:836:3 › overlay › should show a warning when "client.overlay" is "true"
[chromium] › overlay.test.js:887:3 › overlay › should show a warning when "client.overlay.warnings" is "true"
[chromium] › overlay.test.js:940:3 › overlay › should show a warning when "client.overlay.errors" is "true"
[chromium] › overlay.test.js:993:3 › overlay › should not show an error when "client.overlay" is "false"
[chromium] › overlay.test.js:1035:3 › overlay › should not show an error when "client.overlay.errors" is "false"
[chromium] › overlay.test.js:1079:3 › overlay › should not show error when it is filtered ──────
[chromium] › overlay.test.js:1121:3 › overlay › should show error when it is not filtered ──────
[chromium] › overlay.test.js:1174:3 › overlay › should show an error when "client.overlay" is "true"
[chromium] › overlay.test.js:1225:3 › overlay › should show overlay when Trusted Types are enabled
[chromium] › overlay.test.js:1289:3 › overlay › should show overlay when Trusted Types are enabled and the "require-trusted-types-for 'script'" header was used
[chromium] › overlay.test.js:1363:3 › overlay › should not show overlay when Trusted Types are enabled, but policy is not allowed
[chromium] › overlay.test.js:1406:3 › overlay › should show an error when "client.overlay.errors" is "true"
[chromium] › overlay.test.js:1459:3 › overlay › should show an error when "client.overlay.warnings" is "true"
[chromium] › overlay.test.js:1512:3 › overlay › should show a warning and hide them after closing connection
[chromium] › overlay.test.js:1585:3 › overlay › should show an error after invalidation ────────
[chromium] › overlay.test.js:1645:3 › overlay › should show a warning after invalidation ───────
[chromium] › overlay.test.js:1705:3 › overlay › should show error for uncaught runtime error ───
[chromium] › overlay.test.js:1750:3 › overlay › should not show filtered runtime error ─────────
[chromium] › overlay.test.js:1791:3 › overlay › should show error for uncaught promise rejection
[chromium] › overlay.test.js:1838:3 › overlay › should not show filtered promise rejection ─────
[chromium]
|
This job failed
Loading