chore: refactor e2e tests to playwright #6575
Annotations
2 errors, 4 warnings, and 1 notice
Run E2E tests for webpack version latest:
test/e2e/lazy-compilation.test.js#L96
1) [chromium] › lazy-compilation.test.js:52:3 › lazy compilation › should work with multiple entries
Error: expect(received).toMatchSnapshotWithArray(expected)
Expected: "/Users/runner/work/webpack-dev-server/webpack-dev-server/test-results/lazy-compilation-lazy-comp-27684--work-with-multiple-entries-chromium/lazy-compilation-should-work-with-multiple-entries-console-messages-snap-actual.webpack5"
Received: ["[webpack-dev-server] Server started: Hot Module Replacement enabled, Live Reloading enabled, Progress disabled, Overlay enabled.", "[HMR] Waiting for update signal from WDS...", "[webpack-dev-server] App updated. Recompiling...", "[webpack-dev-server] App hot update...", "[HMR] Checking for updates on the server...", "[HMR] Updated modules:", "[HMR] - lazy-compilation-proxy", "[HMR] - ./one.js!lazy-compilation-proxy", "undefined", "[HMR] App is up to date.", …]
94 | });
95 |
> 96 | expect(consoleMessages).toMatchSnapshotWithArray("console messages");
| ^
97 | expect(pageErrors).toMatchSnapshotWithArray("page errors");
98 | } catch (error) {
99 | throw error;
at /Users/runner/work/webpack-dev-server/webpack-dev-server/test/e2e/lazy-compilation.test.js:96:31
|
Run E2E tests for webpack version latest:
test/e2e/lazy-compilation.test.js#L1
1) [chromium] › lazy-compilation.test.js:52:3 › lazy compilation › should work with multiple entries
Error: Test ended.
Browser logs:
<launching> /Users/runner/Library/Caches/ms-playwright/chromium-1117/chrome-mac/Chromium.app/Contents/MacOS/Chromium --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --enable-use-zoom-for-dsf=false --use-angle --headless --hide-scrollbars --mute-audio --blink-settings=primaryHoverType=2,availableHoverTypes=2,primaryPointerType=4,availablePointerTypes=4 --no-sandbox --ignore-certificate-errors --user-data-dir=/var/folders/zn/hj183dg15s713b47j2wlhwzw0000gn/T/playwright_chromiumdev_profile-UhsXqh --remote-debugging-pipe --no-startup-window
<launched> pid=5966
[pid=5966] <gracefully close start>
|
Run E2E tests for webpack version latest:
[chromium] › hot-and-live-reload.test.js#L1
[chromium] › hot-and-live-reload.test.js took 27.6s
|
Run E2E tests for webpack version latest:
[chromium] › overlay.test.js#L1
[chromium] › overlay.test.js took 24.0s
|
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.6s
|
Run E2E tests for webpack version latest
1 flaky
[chromium] › lazy-compilation.test.js:52:3 › lazy compilation › should work with multiple entries
5 skipped
121 passed (1.9m)
|
Loading