feat(playwright): file loading, snapshots, and browsers (oh my!) #20
Annotations
5 errors and 1 warning
Run Tests:
packages/playwright/src/PlaywrightWorld.ts#L57
Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/firefox-1465/firefox/firefox
╔═════════════════════════════════════════════════════════════════════════╗
║ Looks like Playwright Test or Playwright was just installed or updated. ║
║ Please run the following command to download new browsers: ║
║ ║
║ pnpm exec playwright install ║
║ ║
║ <3 Playwright Team ║
╚═════════════════════════════════════════════════════════════════════════╝
❯ PlaywrightWorld.init src/PlaywrightWorld.ts:57:48
❯ initScenario tests/playwright.feature:30:15
❯ initRuleScenario tests/playwright.feature:59:25
❯ tests/playwright.feature:73:25
|
Run Tests:
packages/playwright/src/PlaywrightWorld.ts#L57
Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/webkit-2083/pw_run.sh
╔═════════════════════════════════════════════════════════════════════════╗
║ Looks like Playwright Test or Playwright was just installed or updated. ║
║ Please run the following command to download new browsers: ║
║ ║
║ pnpm exec playwright install ║
║ ║
║ <3 Playwright Team ║
╚═════════════════════════════════════════════════════════════════════════╝
❯ PlaywrightWorld.init src/PlaywrightWorld.ts:57:48
❯ initScenario tests/playwright.feature:30:15
❯ initRuleScenario tests/playwright.feature:59:25
❯ tests/playwright.feature:79:25
|
Run Tests:
packages/playwright/src/PlaywrightWorld.ts#L57
Error: browserType.launch: Target page, context or browser has been closed
Browser logs:
╔════════════════════════════════════════════════════════════════════════════════════════════════╗
║ Looks like you launched a headed browser without having a XServer running. ║
║ Set either 'headless: true' or use 'xvfb-run <your-playwright-app>' before running Playwright. ║
║ ║
║ <3 Playwright Team ║
╚════════════════════════════════════════════════════════════════════════════════════════════════╝
Call log:
- <launching> /home/runner/.cache/ms-playwright/chromium-1140/chrome-linux/chrome --disable-field-trial-config --disable-background-networking --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,ThirdPartyStoragePartitioning,LensOverlay --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 --unsafely-disable-devtools-self-xss-warnings --no-sandbox --user-data-dir=/tmp/playwright_chromiumdev_profile-65EE2z --remote-debugging-pipe --no-startup-window
- <launched> pid=3269
- [pid=3269][err] [3269:3269:1013/020816.024790:ERROR:ozone_platform_x11.cc(244)] Missing X server or $DISPLAY
- [pid=3269][err] [3269:3269:1013/020816.024813:ERROR:env.cc(258)] The platform failed to initialize. Exiting.
❯ PlaywrightWorld.init src/PlaywrightWorld.ts:57:48
❯ initScenario tests/playwright.feature:30:15
❯ initRuleScenario tests/playwright.feature:90:25
❯ tests/playwright.feature:98:25
|
Run Tests:
packages/playwright/src/outcomes.steps.ts#L71
Error: the screenshot "playwright-example" should match (#38)
Failed to compare screenshots: Image sizes do not match.
❯ Proxy.<anonymous> ../../node_modules/.pnpm/[email protected]/node_modules/playwright/lib/matchers/expect.js:225:37
❯ Object.f src/outcomes.steps.ts:71:28
❯ Module.qp ../main/src/index.ts:73:46
❯ tests/playwright.feature:120:13
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { matcherResult: { pass: false, message: 'Failed to compare screenshots: Image sizes do not match.' } }
|
Run Tests
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading