chore: refactor e2e tests to playwright #6549
Annotations
10 errors, 3 warnings, and 1 notice
Run E2E tests for webpack version latest:
test/e2e/overlay.test.js#L345
1) [chromium] › overlay.test.js:326:3 › overlay › should not show initially, then show on an error, then hide on fix
Error: expect(received).toBe(expected) // Object.is equality
Expected: null
Received: {"_guid": "handle@5e58ec6f363241ae0917120788a1e208", "_type": "ElementHandle"}
343 | let overlayHandle = await page.$("#webpack-dev-server-client-overlay");
344 |
> 345 | expect(overlayHandle).toBe(null);
| ^
346 | expect(
347 | await prettier.format(pageHtml, {
348 | parser: "html",
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/overlay.test.js:345:29
|
Run E2E tests for webpack version latest:
test/e2e/overlay.test.js#L345
1) [chromium] › overlay.test.js:326:3 › overlay › should not show initially, then show on an error, then hide on fix
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: null
Received: {"_guid": "handle@1484ad3beac5e003d3cff7a6db201a26", "_type": "ElementHandle"}
343 | let overlayHandle = await page.$("#webpack-dev-server-client-overlay");
344 |
> 345 | expect(overlayHandle).toBe(null);
| ^
346 | expect(
347 | await prettier.format(pageHtml, {
348 | parser: "html",
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/overlay.test.js:345:29
|
Run E2E tests for webpack version latest:
test/e2e/overlay.test.js#L345
1) [chromium] › overlay.test.js:326:3 › overlay › should not show initially, then show on an error, then hide on fix
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: null
Received: {"_guid": "handle@b8cc46533b2b0d1535f07dd44249df54", "_type": "ElementHandle"}
343 | let overlayHandle = await page.$("#webpack-dev-server-client-overlay");
344 |
> 345 | expect(overlayHandle).toBe(null);
| ^
346 | expect(
347 | await prettier.format(pageHtml, {
348 | parser: "html",
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/overlay.test.js:345:29
|
Run E2E tests for webpack version latest:
test/e2e/overlay.test.js#L345
1) [chromium] › overlay.test.js:326:3 › overlay › should not show initially, then show on an error, then hide on fix
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: null
Received: {"_guid": "handle@e50a52eab220c546dbd9ffc7c6c13181", "_type": "ElementHandle"}
343 | let overlayHandle = await page.$("#webpack-dev-server-client-overlay");
344 |
> 345 | expect(overlayHandle).toBe(null);
| ^
346 | expect(
347 | await prettier.format(pageHtml, {
348 | parser: "html",
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/overlay.test.js:345:29
|
Run E2E tests for webpack version latest:
test/e2e/overlay.test.js#L427
2) [chromium] › overlay.test.js:408:3 › overlay › should not show initially, then show on an error, then show other error, then hide on fix
Error: expect(received).toBe(expected) // Object.is equality
Expected: null
Received: {"_guid": "handle@0a10a73f255ff7eeb0b2848bb30ab945", "_type": "ElementHandle"}
425 | let overlayHandle = await page.$("#webpack-dev-server-client-overlay");
426 |
> 427 | expect(overlayHandle).toBe(null);
| ^
428 | expect(
429 | await prettier.format(pageHtml, {
430 | parser: "html",
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/overlay.test.js:427:29
|
Run E2E tests for webpack version latest:
test/e2e/overlay.test.js#L427
2) [chromium] › overlay.test.js:408:3 › overlay › should not show initially, then show on an error, then show other error, then hide on fix
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: null
Received: {"_guid": "handle@a627676b4a71484f1700746406e659ed", "_type": "ElementHandle"}
425 | let overlayHandle = await page.$("#webpack-dev-server-client-overlay");
426 |
> 427 | expect(overlayHandle).toBe(null);
| ^
428 | expect(
429 | await prettier.format(pageHtml, {
430 | parser: "html",
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/overlay.test.js:427:29
|
Run E2E tests for webpack version latest:
test/e2e/overlay.test.js#L427
2) [chromium] › overlay.test.js:408:3 › overlay › should not show initially, then show on an error, then show other error, then hide on fix
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: null
Received: {"_guid": "handle@e19bcbe5742dc21d2db2bf9bbe49f5a0", "_type": "ElementHandle"}
425 | let overlayHandle = await page.$("#webpack-dev-server-client-overlay");
426 |
> 427 | expect(overlayHandle).toBe(null);
| ^
428 | expect(
429 | await prettier.format(pageHtml, {
430 | parser: "html",
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/overlay.test.js:427:29
|
Run E2E tests for webpack version latest:
test/e2e/overlay.test.js#L427
2) [chromium] › overlay.test.js:408:3 › overlay › should not show initially, then show on an error, then show other error, then hide on fix
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: null
Received: {"_guid": "handle@79c15a9b57512f05e78e71e3c0ed2e7e", "_type": "ElementHandle"}
425 | let overlayHandle = await page.$("#webpack-dev-server-client-overlay");
426 |
> 427 | expect(overlayHandle).toBe(null);
| ^
428 | expect(
429 | await prettier.format(pageHtml, {
430 | parser: "html",
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/overlay.test.js:427:29
|
Run E2E tests for webpack version latest:
test/e2e/overlay.test.js#L537
3) [chromium] › overlay.test.js:518:3 › overlay › should not show initially, then show on an error and allow to close
Error: expect(received).toBe(expected) // Object.is equality
Expected: null
Received: {"_guid": "handle@ab063f75f6472277f8354769cb4a0863", "_type": "ElementHandle"}
535 | let overlayHandle = await page.$("#webpack-dev-server-client-overlay");
536 |
> 537 | expect(overlayHandle).toBe(null);
| ^
538 | expect(
539 | await prettier.format(pageHtml, {
540 | parser: "html",
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/overlay.test.js:537:29
|
Run E2E tests for webpack version latest:
test/e2e/overlay.test.js#L537
3) [chromium] › overlay.test.js:518:3 › overlay › should not show initially, then show on an error and allow to close
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: null
Received: {"_guid": "handle@45f6bfa424bc1d5d5c243d7615bb58e4", "_type": "ElementHandle"}
535 | let overlayHandle = await page.$("#webpack-dev-server-client-overlay");
536 |
> 537 | expect(overlayHandle).toBe(null);
| ^
538 | expect(
539 | await prettier.format(pageHtml, {
540 | parser: "html",
at /home/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/overlay.test.js:537:29
|
Run E2E tests for webpack version latest:
[chromium] › hot-and-live-reload.test.js#L1
[chromium] › hot-and-live-reload.test.js took 28.2s
|
Run E2E tests for webpack version latest:
[chromium] › multi-compiler.test.js#L1
[chromium] › multi-compiler.test.js took 21.4s
|
Run E2E tests for webpack version latest:
[chromium] › logging.test.js#L1
[chromium] › logging.test.js took 19.1s
|
Run E2E tests for webpack version latest
9 failed
[chromium] › overlay.test.js:326:3 › overlay › should not show initially, then show on an error, then hide on fix
[chromium] › overlay.test.js:408:3 › overlay › should not show initially, then show on an error, then show other error, then hide on fix
[chromium] › overlay.test.js:518:3 › overlay › should not show initially, then show on an error and allow to close
[chromium] › overlay.test.js:699:3 › overlay › should not show a warning when "client.overlay.warnings" is "false"
[chromium] › overlay.test.js:743:3 › overlay › should not show warning when it is filtered ─────
[chromium] › overlay.test.js:1036:3 › overlay › should not show an error when "client.overlay.errors" is "false"
[chromium] › overlay.test.js:1080:3 › overlay › should not show error when it is filtered ──────
[chromium] › overlay.test.js:1751:3 › overlay › should not show filtered runtime error ─────────
[chromium] › overlay.test.js:1839:3 › overlay › should not show filtered promise rejection ─────
3 skipped
115 passed (2.9m)
|
Loading