๐ ๏ธ Repo: CI fails on Playwright tests
Closed this issue ยท 0 comments
JoshuaKGoldberg commented
Example from https://github.com/mochajs/mocha-examples/actions/runs/9753687212/job/26919357259:
example-karma-app: 02 07 2024 01:51:21.132:INFO [Chrome Headless 126.0.6478.126 (Linux x86_64)]: Connected on socket u-0y51x42UouY5RvAAAB with id 31646331
exmaple-playwright-application: Playwright
exmaple-playwright-application: 1) "before each" hook for "should render mocha homepage"
exmaple-playwright-application: 2) "after each" hook for "should render mocha homepage"
exmaple-playwright-application: 0 passing (18ms)
exmaple-playwright-application: 2 failing
exmaple-playwright-application: 1) Playwright
exmaple-playwright-application: "before each" hook for "should render mocha homepage":
exmaple-playwright-application: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1124/chrome-linux/chrome
exmaple-playwright-application: โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
exmaple-playwright-application: โ Looks like Playwright Test or Playwright was just installed or updated. โ
exmaple-playwright-application: โ Please run the following command to download new browsers: โ
exmaple-playwright-application: โ โ
exmaple-playwright-application: โ npx playwright install โ
exmaple-playwright-application: โ โ
exmaple-playwright-application: โ <3 Playwright Team โ
exmaple-playwright-application: โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
exmaple-playwright-application: at Context.<anonymous> (test/index.spec.js:13:34)
exmaple-playwright-application: 2) Playwright
exmaple-playwright-application: "after each" hook for "should render mocha homepage":
exmaple-playwright-application: TypeError: Cannot read properties of undefined (reading 'close')
https://playwright.dev/docs/ci-intro might be relevant here.