Skip to content

chore: fix install of playwright in CI #82

chore: fix install of playwright in CI

chore: fix install of playwright in CI #82

Triggered via push July 5, 2024 10:10
Status Failure
Total duration 2m 42s
Artifacts

test.js.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test/cacheComponent.e2e.spec.ts > The component cache feature > Caches payload along component if asyncDataKeys provided.: node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs#L34
Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1117/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ npx playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝ ❯ createBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:34:40 ❯ getBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:39:5 ❯ Module.createPage node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:44:19 ❯ test/cacheComponent.e2e.spec.ts:127:19
test/cacheKeyPrefix.e2e.spec.ts > The cacheKeyPrefix > is working for the data cache.: node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs#L34
Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1117/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ npx playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝ ❯ createBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:34:40 ❯ Module.getBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:39:5 ❯ Module.createPageWithoutHydration test/__helpers__/index.ts:16:19 ❯ getDataValue test/cacheKeyPrefix.e2e.spec.ts:41:16 ❯ test/cacheKeyPrefix.e2e.spec.ts:49:21
test/cacheKeyPrefix.e2e.spec.ts > The cacheKeyPrefix > is working for the component cache.: node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs#L34
Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1117/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ npx playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝ ❯ createBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:34:40 ❯ Module.getBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:39:5 ❯ Module.createPageWithoutHydration test/__helpers__/index.ts:16:19 ❯ getDataValue test/cacheKeyPrefix.e2e.spec.ts:41:16 ❯ test/cacheKeyPrefix.e2e.spec.ts:60:21
test/cacheKeyPrefix.e2e.spec.ts > The cacheKeyPrefix > is working for the route cache: node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs#L34
Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1117/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ npx playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝ ❯ createBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:34:40 ❯ Module.getBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:39:5 ❯ Module.createPageWithoutHydration test/__helpers__/index.ts:16:19 ❯ getDataValue test/cacheKeyPrefix.e2e.spec.ts:41:16 ❯ test/cacheKeyPrefix.e2e.spec.ts:73:21
test/dataCache.e2e.spec.ts > The data cache feature > Works on a page: node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs#L34
Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1117/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ npx playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝ ❯ createBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:34:40 ❯ getBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:39:5 ❯ Module.createPage node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:44:19 ❯ test/dataCache.e2e.spec.ts:45:19
test/fileSystemDriver.e2e.spec.ts > Caching with the file system driver > correctly serves a cached page: node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs#L34
Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1117/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ npx playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝ ❯ createBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:34:40 ❯ Module.getBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:39:5 ❯ Module.createPageWithoutHydration test/__helpers__/index.ts:16:19 ❯ test/fileSystemDriver.e2e.spec.ts:39:19
test/fileSystemDriver.e2e.spec.ts > Caching with the file system driver > correctly returns a cached component: node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs#L34
Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1117/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ npx playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝ ❯ createBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:34:40 ❯ Module.getBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:39:5 ❯ Module.createPageWithoutHydration test/__helpers__/index.ts:16:19 ❯ test/fileSystemDriver.e2e.spec.ts:56:19
test/purgeApi.e2e.spec.ts > The purge and stats endpoints > always have access to the cache context: node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs#L34
Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1117/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ npx playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝ ❯ createBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:34:40 ❯ getBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:39:5 ❯ Module.createPage node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:44:19 ❯ test/purgeApi.e2e.spec.ts:64:5
test/spaMode.e2e.spec.ts > In SPA mode > the RenderCacheable component does not throw an exception: node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs#L34
Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1117/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ npx playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝ ❯ createBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:34:40 ❯ Module.getBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:39:5 ❯ Module.createPageWithConsoleMessages test/__helpers__/index.ts:33:19 ❯ test/spaMode.e2e.spec.ts:47:26
test/spaMode.e2e.spec.ts > In SPA mode > the useDataCache composable does not throw an exception: node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs#L34
Error: browserType.launch: Executable doesn't exist at /home/runner/.cache/ms-playwright/chromium-1117/chrome-linux/chrome ╔═════════════════════════════════════════════════════════════════════════╗ ║ Looks like Playwright Test or Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ npx playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚═════════════════════════════════════════════════════════════════════════╝ ❯ createBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:34:40 ❯ getBrowser node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:39:5 ❯ Module.createPage node_modules/@nuxt/test-utils/dist/shared/test-utils.C7cWLW4C.mjs:44:19 ❯ test/spaMode.e2e.spec.ts:65:18