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@4a60f6d6c036f16a669a11cb8c48d358", "_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@964c9ed03286d210305e1a5ff7366b01", "_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@97d4243e209dd9cebe8639617a92ae30", "_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@33eb62adfddcff34fb420b870f63a231", "_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@a966ae78fd19caf756eabb2721f145fc", "_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@a418446f1466e6764632201812248096", "_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@94068e06467e5bfcfbd531c61a24dbd1", "_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@989f953c5bee57b0148cee6ebf8adb14", "_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@21116bc5090d1ae7fd575aa04e89bb44", "_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@a8361e33c91044150b5bf142679d8e06", "_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.9s
|
Run E2E tests for webpack version latest:
[chromium] › multi-compiler.test.js#L1
[chromium] › multi-compiler.test.js took 21.5s
|
Run E2E tests for webpack version latest:
[chromium] › logging.test.js#L1
[chromium] › logging.test.js took 19.2s
|
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 (3.1m)
|
Loading