chore: refactor e2e tests to playwright #6544
Annotations
9 errors, 2 warnings, and 1 notice
Run E2E tests for webpack version latest:
test/e2e/web-socket-communication.test.js#L110
1) [chromium] › web-socket-communication.test.js:69:5 › web socket communication › should work and terminate client that is not alive ("ws")
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
108 |
109 | // this fails
> 110 | expect(server.webSocketServer.clients.length).toBe(0);
| ^
111 | expect(
112 | consoleMessages.map((message) => message.text()),
113 | ).toMatchSnapshotWithArray("console messages");
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-communication.test.js:110:57
|
Run E2E tests for webpack version latest:
test/e2e/web-socket-communication.test.js#L110
1) [chromium] › web-socket-communication.test.js:69:5 › web socket communication › should work and terminate client that is not alive ("ws")
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
108 |
109 | // this fails
> 110 | expect(server.webSocketServer.clients.length).toBe(0);
| ^
111 | expect(
112 | consoleMessages.map((message) => message.text()),
113 | ).toMatchSnapshotWithArray("console messages");
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-communication.test.js:110:57
|
Run E2E tests for webpack version latest:
test/e2e/web-socket-communication.test.js#L110
1) [chromium] › web-socket-communication.test.js:69:5 › web socket communication › should work and terminate client that is not alive ("ws")
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
108 |
109 | // this fails
> 110 | expect(server.webSocketServer.clients.length).toBe(0);
| ^
111 | expect(
112 | consoleMessages.map((message) => message.text()),
113 | ).toMatchSnapshotWithArray("console messages");
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-communication.test.js:110:57
|
Run E2E tests for webpack version latest:
test/e2e/web-socket-communication.test.js#L110
1) [chromium] › web-socket-communication.test.js:69:5 › web socket communication › should work and terminate client that is not alive ("ws")
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
108 |
109 | // this fails
> 110 | expect(server.webSocketServer.clients.length).toBe(0);
| ^
111 | expect(
112 | consoleMessages.map((message) => message.text()),
113 | ).toMatchSnapshotWithArray("console messages");
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-communication.test.js:110:57
|
Run E2E tests for webpack version latest:
test/e2e/web-socket-communication.test.js#L110
2) [chromium] › web-socket-communication.test.js:69:5 › web socket communication › should work and terminate client that is not alive ("sockjs")
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
108 |
109 | // this fails
> 110 | expect(server.webSocketServer.clients.length).toBe(0);
| ^
111 | expect(
112 | consoleMessages.map((message) => message.text()),
113 | ).toMatchSnapshotWithArray("console messages");
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-communication.test.js:110:57
|
Run E2E tests for webpack version latest:
test/e2e/web-socket-communication.test.js#L110
2) [chromium] › web-socket-communication.test.js:69:5 › web socket communication › should work and terminate client that is not alive ("sockjs")
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
108 |
109 | // this fails
> 110 | expect(server.webSocketServer.clients.length).toBe(0);
| ^
111 | expect(
112 | consoleMessages.map((message) => message.text()),
113 | ).toMatchSnapshotWithArray("console messages");
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-communication.test.js:110:57
|
Run E2E tests for webpack version latest:
test/e2e/web-socket-communication.test.js#L110
2) [chromium] › web-socket-communication.test.js:69:5 › web socket communication › should work and terminate client that is not alive ("sockjs")
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
108 |
109 | // this fails
> 110 | expect(server.webSocketServer.clients.length).toBe(0);
| ^
111 | expect(
112 | consoleMessages.map((message) => message.text()),
113 | ).toMatchSnapshotWithArray("console messages");
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-communication.test.js:110:57
|
Run E2E tests for webpack version latest:
test/e2e/web-socket-communication.test.js#L110
2) [chromium] › web-socket-communication.test.js:69:5 › web socket communication › should work and terminate client that is not alive ("sockjs")
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
108 |
109 | // this fails
> 110 | expect(server.webSocketServer.clients.length).toBe(0);
| ^
111 | expect(
112 | consoleMessages.map((message) => message.text()),
113 | ).toMatchSnapshotWithArray("console messages");
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/web-socket-communication.test.js:110:57
|
Run E2E tests for webpack version latest
Process completed with exit code 1.
|
Run E2E tests for webpack version latest:
[chromium] › web-socket-server-url.test.js#L1
[chromium] › web-socket-server-url.test.js took 48.4s
|
Run E2E tests for webpack version latest:
[chromium] › watch-files.test.js#L1
[chromium] › watch-files.test.js took 23.0s
|
Run E2E tests for webpack version latest
2 failed
[chromium] › web-socket-communication.test.js:69:5 › web socket communication › should work and terminate client that is not alive ("ws")
[chromium] › web-socket-communication.test.js:69:5 › web socket communication › should work and terminate client that is not alive ("sockjs")
115 passed (1.9m)
|
Loading