Skip to content

feat: allow multi-browser configuration #12510

feat: allow multi-browser configuration

feat: allow multi-browser configuration #12510

Triggered via pull request November 28, 2024 11:30
Status Cancelled
Total duration 7m 34s
Artifacts

ci.yml

on: pull_request
Diff: node-latest, ubuntu-latest
9s
Diff: node-latest, ubuntu-latest
Lint: node-latest, ubuntu-latest
2m 38s
Lint: node-latest, ubuntu-latest
Matrix: test-browser
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

72 errors
specs/filter.test.ts > filter: test/browser/specs/filter.test.ts#L10
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at /Users/runner/work/vitest/vitest/.cache/ms-playwright/firefox-1465/firefox/Nightly.app/Contents/MacOS/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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/filter.test.ts:5:30 + ❯ ../../packages/runner/dist/index.js:535:5 + ❯ runTest ../../packages/runner/dist/index.js:1065:11 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/filter.test.ts:10:18
specs/fix-4686.test.ts > tests run in presence of config.base: test/browser/specs/fix-4686.test.ts#L14
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at /Users/runner/work/vitest/vitest/.cache/ms-playwright/firefox-1465/firefox/Nightly.app/Contents/MacOS/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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/fix-4686.test.ts:7:27 + ❯ ../../packages/runner/dist/index.js:535:5 + ❯ runTest ../../packages/runner/dist/index.js:1065:11 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/fix-4686.test.ts:14:18
specs/runner.test.ts > running browser tests > tests are actually running: test/browser/specs/runner.test.ts#L31
AssertionError: expected [] to have a length of 19 but got +0 - Expected + Received - 19 + 0 ❯ specs/runner.test.ts:31:43
specs/runner.test.ts > running browser tests > runs in-source tests: test/browser/specs/runner.test.ts#L41
AssertionError: expected '\n RUN v2.2.0-beta.2 /Users/runner/w…' to contain 'src/actions.ts' - Expected + Received - src/actions.ts + + RUN v2.2.0-beta.2 /Users/runner/work/vitest/vitest/test/browser + + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + Test Files no tests + Tests no tests + Errors 1 error + Start at 11:33:04 + Duration 248ms (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) + + JSON report written to /Users/runner/work/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:41:20
specs/runner.test.ts > running browser tests > correctly prints error: test/browser/specs/runner.test.ts#L48
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to contain 'expected 1 to be 2' - Expected + Received - expected 1 to be 2 + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at /Users/runner/work/vitest/vitest/.cache/ms-playwright/firefox-1465/firefox/Nightly.app/Contents/MacOS/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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/runner.test.ts:16:9 + ❯ callSuiteHook ../../packages/runner/dist/index.js:973:22 + ❯ runSuite ../../packages/runner/dist/index.js:1185:29 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/runner.test.ts:48:20
specs/runner.test.ts > running browser tests > logs are redirected to stdout: test/browser/specs/runner.test.ts#L57
AssertionError: expected '\n RUN v2.2.0-beta.2 /Users/runner/w…' to contain 'stdout | test/logs.test.ts > logging …' - Expected + Received - stdout | test/logs.test.ts > logging to stdout + + RUN v2.2.0-beta.2 /Users/runner/work/vitest/vitest/test/browser + + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + Test Files no tests + Tests no tests + Errors 1 error + Start at 11:33:04 + Duration 248ms (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) + + JSON report written to /Users/runner/work/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:57:20
specs/runner.test.ts > running browser tests > logs are redirected to stderr: test/browser/specs/runner.test.ts#L83
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to contain 'stderr | test/logs.test.ts > logging …' - Expected + Received - stderr | test/logs.test.ts > logging to stderr + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at /Users/runner/work/vitest/vitest/.cache/ms-playwright/firefox-1465/firefox/Nightly.app/Contents/MacOS/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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/runner.test.ts:16:9 + ❯ callSuiteHook ../../packages/runner/dist/index.js:973:22 + ❯ runSuite ../../packages/runner/dist/index.js:1185:29 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/runner.test.ts:83:20
specs/runner.test.ts > running browser tests > logs have stack traces in safari: test/browser/specs/runner.test.ts#L107
AssertionError: expected '\n RUN v2.2.0-beta.2 /Users/runner/w…' to match 'log with a stack\n ❯ test/logs.test.t…' - Expected + Received - log with a stack - ❯ test/logs.test.ts:58:14 + + RUN v2.2.0-beta.2 /Users/runner/work/vitest/vitest/test/browser + + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + Test Files no tests + Tests no tests + Errors 1 error + Start at 11:33:04 + Duration 248ms (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) + + JSON report written to /Users/runner/work/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:107:20
specs/runner.test.ts > running browser tests > stack trace points to correct file in every browser: test/browser/specs/runner.test.ts#L121
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to match /test\/faili…/failing.test.ts:10:(12|17) - Expected: /test\/failing.test.ts:10:(12|17)/ + Received: " ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ Error: browserType.launch: Executable doesn't exist at /Users/runner/work/vitest/vitest/.cache/ms-playwright/firefox-1465/firefox/Nightly.app/Contents/MacOS/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 ║ ╚═════════════════════════════════════════════════════════════════════════╝ ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 ❯ executeTests ../../packages/browser/dist/index.js:2663:5 ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 ❯ Module.runVitest ../test-utils/index.ts:64:11 ❯ specs/runner.test.ts:16:9 ❯ callSuiteHook ../../packages/runner/dist/index.js:973:22 ❯ runSuite ../../packages/runner/dist/index.js:1185:29 ❯ runSuite ../../packages/runner/dist/index.js:1215:15 ❯ runFiles ../../packages/runner/dist/index.js:1272:5 ❯ startTests ../../packages/runner/dist/index.js:1281:3 ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 ❯ execute ../../packages/vitest/dist/worker.js:127:5 ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 " ❯ specs/runner.test.ts:121:20
specs/runner.test.ts > running browser tests > popup apis should log a warning: test/browser/specs/runner.test.ts#L133
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to contain 'Vitest encountered a `alert("test")`' - Expected + Received - Vitest encountered a `alert("test")` + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at /Users/runner/work/vitest/vitest/.cache/ms-playwright/firefox-1465/firefox/Nightly.app/Contents/MacOS/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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/runner.test.ts:16:9 + ❯ callSuiteHook ../../packages/runner/dist/index.js:973:22 + ❯ runSuite ../../packages/runner/dist/index.js:1185:29 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/runner.test.ts:133:20
Lint: node-latest, ubuntu-latest: packages/vitest/src/node/cli/cli-config.ts#L367
Property 'capabilities' is missing in type '{ enabled: { description: string; }; name: { description: string; argument: string; }; headless: { description: string; }; api: { description: string; argument: string; subcommands: CLIOptions<ApiConfig>; }; ... 12 more ...; testerHtmlPath: null; }' but required in type 'CLIOptions<BrowserConfigOptions>'.
Lint: node-latest, ubuntu-latest
Process completed with exit code 2.
specs/filter.test.ts > filter: test/browser/specs/filter.test.ts#L10
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at /Users/runner/work/vitest/vitest/.cache/ms-playwright/firefox-1465/firefox/Nightly.app/Contents/MacOS/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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/filter.test.ts:5:30 + ❯ ../../packages/runner/dist/index.js:535:5 + ❯ runTest ../../packages/runner/dist/index.js:1065:11 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/filter.test.ts:10:18
specs/fix-4686.test.ts > tests run in presence of config.base: test/browser/specs/fix-4686.test.ts#L14
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at /Users/runner/work/vitest/vitest/.cache/ms-playwright/firefox-1465/firefox/Nightly.app/Contents/MacOS/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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/fix-4686.test.ts:7:27 + ❯ ../../packages/runner/dist/index.js:535:5 + ❯ runTest ../../packages/runner/dist/index.js:1065:11 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/fix-4686.test.ts:14:18
specs/runner.test.ts > running browser tests > tests are actually running: test/browser/specs/runner.test.ts#L31
AssertionError: expected [] to have a length of 19 but got +0 - Expected + Received - 19 + 0 ❯ specs/runner.test.ts:31:43
specs/runner.test.ts > running browser tests > runs in-source tests: test/browser/specs/runner.test.ts#L41
AssertionError: expected '\n RUN v2.2.0-beta.2 /Users/runner/w…' to contain 'src/actions.ts' - Expected + Received - src/actions.ts + + RUN v2.2.0-beta.2 /Users/runner/work/vitest/vitest/test/browser + + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + Test Files no tests + Tests no tests + Errors 1 error + Start at 11:33:34 + Duration 286ms (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) + + JSON report written to /Users/runner/work/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:41:20
specs/runner.test.ts > running browser tests > correctly prints error: test/browser/specs/runner.test.ts#L48
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to contain 'expected 1 to be 2' - Expected + Received - expected 1 to be 2 + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at /Users/runner/work/vitest/vitest/.cache/ms-playwright/firefox-1465/firefox/Nightly.app/Contents/MacOS/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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/runner.test.ts:16:9 + ❯ callSuiteHook ../../packages/runner/dist/index.js:973:22 + ❯ runSuite ../../packages/runner/dist/index.js:1185:29 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/runner.test.ts:48:20
specs/runner.test.ts > running browser tests > logs are redirected to stdout: test/browser/specs/runner.test.ts#L57
AssertionError: expected '\n RUN v2.2.0-beta.2 /Users/runner/w…' to contain 'stdout | test/logs.test.ts > logging …' - Expected + Received - stdout | test/logs.test.ts > logging to stdout + + RUN v2.2.0-beta.2 /Users/runner/work/vitest/vitest/test/browser + + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + Test Files no tests + Tests no tests + Errors 1 error + Start at 11:33:34 + Duration 286ms (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) + + JSON report written to /Users/runner/work/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:57:20
specs/runner.test.ts > running browser tests > logs are redirected to stderr: test/browser/specs/runner.test.ts#L83
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to contain 'stderr | test/logs.test.ts > logging …' - Expected + Received - stderr | test/logs.test.ts > logging to stderr + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at /Users/runner/work/vitest/vitest/.cache/ms-playwright/firefox-1465/firefox/Nightly.app/Contents/MacOS/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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/runner.test.ts:16:9 + ❯ callSuiteHook ../../packages/runner/dist/index.js:973:22 + ❯ runSuite ../../packages/runner/dist/index.js:1185:29 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/runner.test.ts:83:20
specs/runner.test.ts > running browser tests > logs have stack traces in non-safari: test/browser/specs/runner.test.ts#L93
AssertionError: expected '\n RUN v2.2.0-beta.2 /Users/runner/w…' to match 'log with a stack\n ❯ test/logs.test.t…' - Expected + Received - log with a stack - ❯ test/logs.test.ts:58:10 + + RUN v2.2.0-beta.2 /Users/runner/work/vitest/vitest/test/browser + + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + Test Files no tests + Tests no tests + Errors 1 error + Start at 11:33:34 + Duration 286ms (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) + + JSON report written to /Users/runner/work/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:93:20
specs/runner.test.ts > running browser tests > stack trace points to correct file in every browser: test/browser/specs/runner.test.ts#L121
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to match /test\/faili…/failing.test.ts:10:(12|17) - Expected: /test\/failing.test.ts:10:(12|17)/ + Received: " ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ Error: browserType.launch: Executable doesn't exist at /Users/runner/work/vitest/vitest/.cache/ms-playwright/firefox-1465/firefox/Nightly.app/Contents/MacOS/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 ║ ╚═════════════════════════════════════════════════════════════════════════╝ ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 ❯ executeTests ../../packages/browser/dist/index.js:2663:5 ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 ❯ Module.runVitest ../test-utils/index.ts:64:11 ❯ specs/runner.test.ts:16:9 ❯ callSuiteHook ../../packages/runner/dist/index.js:973:22 ❯ runSuite ../../packages/runner/dist/index.js:1185:29 ❯ runSuite ../../packages/runner/dist/index.js:1215:15 ❯ runFiles ../../packages/runner/dist/index.js:1272:5 ❯ startTests ../../packages/runner/dist/index.js:1281:3 ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 ❯ execute ../../packages/vitest/dist/worker.js:127:5 ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 " ❯ specs/runner.test.ts:121:20
specs/runner.test.ts > running browser tests > popup apis should log a warning: test/browser/specs/runner.test.ts#L133
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to contain 'Vitest encountered a `alert("test")`' - Expected + Received - Vitest encountered a `alert("test")` + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at /Users/runner/work/vitest/vitest/.cache/ms-playwright/firefox-1465/firefox/Nightly.app/Contents/MacOS/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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/runner.test.ts:16:9 + ❯ callSuiteHook ../../packages/runner/dist/index.js:973:22 + ❯ runSuite ../../packages/runner/dist/index.js:1185:29 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/runner.test.ts:133:20
specs/filter.test.ts > filter: test/browser/specs/filter.test.ts#L10
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at D:\a\vitest\vitest\.cache\ms-playwright\firefox-1465\firefox\firefox.exe + ╔═════════════════════════════════════════════════════════════════════════╗ + ║ 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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/filter.test.ts:5:30 + ❯ ../../packages/runner/dist/index.js:535:5 + ❯ runTest ../../packages/runner/dist/index.js:1065:11 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/filter.test.ts:10:18
specs/fix-4686.test.ts > tests run in presence of config.base: test/browser/specs/fix-4686.test.ts#L14
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at D:\a\vitest\vitest\.cache\ms-playwright\firefox-1465\firefox\firefox.exe + ╔═════════════════════════════════════════════════════════════════════════╗ + ║ 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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/fix-4686.test.ts:7:27 + ❯ ../../packages/runner/dist/index.js:535:5 + ❯ runTest ../../packages/runner/dist/index.js:1065:11 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/fix-4686.test.ts:14:18
specs/runner.test.ts > running browser tests > tests are actually running: test/browser/specs/runner.test.ts#L31
AssertionError: expected [] to have a length of 19 but got +0 - Expected + Received - 19 + 0 ❯ specs/runner.test.ts:31:43
specs/runner.test.ts > running browser tests > runs in-source tests: test/browser/specs/runner.test.ts#L41
AssertionError: expected '\n RUN v2.2.0-beta.2 D:/a/vitest/vit…' to contain 'src/actions.ts' - Expected + Received - src/actions.ts + + RUN v2.2.0-beta.2 D:/a/vitest/vitest/test/browser + + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + Test Files no tests + Tests no tests + Errors 1 error + Start at 11:34:17 + Duration 527ms (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) + + JSON report written to D:/a/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:41:20
specs/runner.test.ts > running browser tests > correctly prints error: test/browser/specs/runner.test.ts#L48
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to contain 'expected 1 to be 2' - Expected + Received - expected 1 to be 2 + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at D:\a\vitest\vitest\.cache\ms-playwright\firefox-1465\firefox\firefox.exe + ╔═════════════════════════════════════════════════════════════════════════╗ + ║ 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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/runner.test.ts:16:9 + ❯ callSuiteHook ../../packages/runner/dist/index.js:973:22 + ❯ runSuite ../../packages/runner/dist/index.js:1185:29 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/runner.test.ts:48:20
specs/runner.test.ts > running browser tests > logs are redirected to stdout: test/browser/specs/runner.test.ts#L57
AssertionError: expected '\n RUN v2.2.0-beta.2 D:/a/vitest/vit…' to contain 'stdout | test/logs.test.ts > logging …' - Expected + Received - stdout | test/logs.test.ts > logging to stdout + + RUN v2.2.0-beta.2 D:/a/vitest/vitest/test/browser + + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + Test Files no tests + Tests no tests + Errors 1 error + Start at 11:34:17 + Duration 527ms (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) + + JSON report written to D:/a/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:57:20
specs/runner.test.ts > running browser tests > logs are redirected to stderr: test/browser/specs/runner.test.ts#L83
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to contain 'stderr | test/logs.test.ts > logging …' - Expected + Received - stderr | test/logs.test.ts > logging to stderr + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at D:\a\vitest\vitest\.cache\ms-playwright\firefox-1465\firefox\firefox.exe + ╔═════════════════════════════════════════════════════════════════════════╗ + ║ 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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/runner.test.ts:16:9 + ❯ callSuiteHook ../../packages/runner/dist/index.js:973:22 + ❯ runSuite ../../packages/runner/dist/index.js:1185:29 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/runner.test.ts:83:20
specs/runner.test.ts > running browser tests > logs have stack traces in safari: test/browser/specs/runner.test.ts#L107
AssertionError: expected '\n RUN v2.2.0-beta.2 D:/a/vitest/vit…' to match 'log with a stack\n ❯ test/logs.test.t…' - Expected + Received - log with a stack - ❯ test/logs.test.ts:58:14 + + RUN v2.2.0-beta.2 D:/a/vitest/vitest/test/browser + + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + Test Files no tests + Tests no tests + Errors 1 error + Start at 11:34:17 + Duration 527ms (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) + + JSON report written to D:/a/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:107:20
specs/runner.test.ts > running browser tests > stack trace points to correct file in every browser: test/browser/specs/runner.test.ts#L121
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to match /test\/faili…/failing.test.ts:10:(12|17) - Expected: /test\/failing.test.ts:10:(12|17)/ + Received: " ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ Error: browserType.launch: Executable doesn't exist at D:\\a\\vitest\\vitest\\.cache\\ms-playwright\\firefox-1465\\firefox\\firefox.exe ╔═════════════════════════════════════════════════════════════════════════╗ ║ 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 ║ ╚═════════════════════════════════════════════════════════════════════════╝ ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 ❯ executeTests ../../packages/browser/dist/index.js:2663:5 ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 ❯ Module.runVitest ../test-utils/index.ts:64:11 ❯ specs/runner.test.ts:16:9 ❯ callSuiteHook ../../packages/runner/dist/index.js:973:22 ❯ runSuite ../../packages/runner/dist/index.js:1185:29 ❯ runSuite ../../packages/runner/dist/index.js:1215:15 ❯ runFiles ../../packages/runner/dist/index.js:1272:5 ❯ startTests ../../packages/runner/dist/index.js:1281:3 ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 ❯ execute ../../packages/vitest/dist/worker.js:127:5 ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 " ❯ specs/runner.test.ts:121:20
specs/runner.test.ts > running browser tests > popup apis should log a warning: test/browser/specs/runner.test.ts#L133
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to contain 'Vitest encountered a `alert("test")`' - Expected + Received - Vitest encountered a `alert("test")` + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at D:\a\vitest\vitest\.cache\ms-playwright\firefox-1465\firefox\firefox.exe + ╔═════════════════════════════════════════════════════════════════════════╗ + ║ 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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/runner.test.ts:16:9 + ❯ callSuiteHook ../../packages/runner/dist/index.js:973:22 + ❯ runSuite ../../packages/runner/dist/index.js:1185:29 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/runner.test.ts:133:20
specs/filter.test.ts > filter: test/browser/specs/filter.test.ts#L11
AssertionError: expected '\n RUN v2.2.0-beta.2 /Users/runner/w…' to contain '✓ test/basic.test.ts > basic 2' - Expected + Received - ✓ test/basic.test.ts > basic 2 + + RUN v2.2.0-beta.2 /Users/runner/work/vitest/vitest/test/browser + + ✓ |firefox| test/basic.test.ts > basic 2 + ✓ |webkit| test/basic.test.ts > basic 2 + + Test Files 2 passed (2) + Tests 2 passed | 6 skipped (8) + Start at 11:34:47 + Duration 3.78s (transform 0ms, setup 0ms, collect 32ms, tests 7ms, environment 0ms, prepare 852ms) + + ❯ specs/filter.test.ts:11:18
specs/runner.test.ts > running browser tests > tests are actually running: test/browser/specs/runner.test.ts#L31
AssertionError: expected [ { …(6) }, { …(6) } ] to have a length of 19 but got 2 - Expected + Received - 19 + 2 ❯ specs/runner.test.ts:31:43
specs/runner.test.ts > running browser tests > runs in-source tests: test/browser/specs/runner.test.ts#L41
AssertionError: expected '\n RUN v2.2.0-beta.2 /Users/runner/w…' to contain 'src/actions.ts' - Expected + Received - src/actions.ts + + RUN v2.2.0-beta.2 /Users/runner/work/vitest/vitest/test/browser + + ✓ |firefox| test/another.test.ts (2 tests) 3ms + ✓ |webkit| test/another.test.ts (2 tests) 11ms + + Test Files 2 passed (2) + Tests 4 passed (4) + Start at 11:33:59 + Duration 8.02s (transform 0ms, setup 0ms, collect 18ms, tests 14ms, environment 0ms, prepare 1.11s) + + JSON report written to /Users/runner/work/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:41:20
specs/runner.test.ts > running browser tests > correctly prints error: test/browser/specs/runner.test.ts#L48
AssertionError: expected '' to contain 'expected 1 to be 2' - Expected + Received - expected 1 to be 2 ❯ specs/runner.test.ts:48:20
specs/runner.test.ts > running browser tests > logs are redirected to stdout: test/browser/specs/runner.test.ts#L57
AssertionError: expected '\n RUN v2.2.0-beta.2 /Users/runner/w…' to contain 'stdout | test/logs.test.ts > logging …' - Expected + Received - stdout | test/logs.test.ts > logging to stdout + + RUN v2.2.0-beta.2 /Users/runner/work/vitest/vitest/test/browser + + ✓ |firefox| test/another.test.ts (2 tests) 3ms + ✓ |webkit| test/another.test.ts (2 tests) 11ms + + Test Files 2 passed (2) + Tests 4 passed (4) + Start at 11:33:59 + Duration 8.02s (transform 0ms, setup 0ms, collect 18ms, tests 14ms, environment 0ms, prepare 1.11s) + + JSON report written to /Users/runner/work/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:57:20
specs/runner.test.ts > running browser tests > logs are redirected to stderr: test/browser/specs/runner.test.ts#L83
AssertionError: expected '' to contain 'stderr | test/logs.test.ts > logging …' - Expected + Received - stderr | test/logs.test.ts > logging to stderr ❯ specs/runner.test.ts:83:20
specs/runner.test.ts > running browser tests > logs have stack traces in non-safari: test/browser/specs/runner.test.ts#L93
AssertionError: expected '\n RUN v2.2.0-beta.2 /Users/runner/w…' to match 'log with a stack\n ❯ test/logs.test.t…' - Expected + Received - log with a stack - ❯ test/logs.test.ts:58:10 + + RUN v2.2.0-beta.2 /Users/runner/work/vitest/vitest/test/browser + + ✓ |firefox| test/another.test.ts (2 tests) 3ms + ✓ |webkit| test/another.test.ts (2 tests) 11ms + + Test Files 2 passed (2) + Tests 4 passed (4) + Start at 11:33:59 + Duration 8.02s (transform 0ms, setup 0ms, collect 18ms, tests 14ms, environment 0ms, prepare 1.11s) + + JSON report written to /Users/runner/work/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:93:20
specs/runner.test.ts > running browser tests > stack trace points to correct file in every browser: test/browser/specs/runner.test.ts#L121
AssertionError: expected '' to match /test\/faili…/failing.test.ts:10:(12|17) - Expected: /test\/failing.test.ts:10:(12|17)/ + Received: "" ❯ specs/runner.test.ts:121:20
specs/runner.test.ts > running browser tests > popup apis should log a warning: test/browser/specs/runner.test.ts#L133
AssertionError: expected '' to contain 'Vitest encountered a `alert("test")`' - Expected + Received - Vitest encountered a `alert("test")` ❯ specs/runner.test.ts:133:20
specs/runner.test.ts > running browser tests > snapshot inaccessible file debuggability: test/browser/specs/runner.test.ts#L139
AssertionError: expected '' to contain 'Access denied to "/inaccesible/path".' - Expected + Received - Access denied to "/inaccesible/path". ❯ specs/runner.test.ts:139:20
specs/filter.test.ts > filter: test/browser/specs/filter.test.ts#L10
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at D:\a\vitest\vitest\.cache\ms-playwright\firefox-1465\firefox\firefox.exe + ╔═════════════════════════════════════════════════════════════════════════╗ + ║ 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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/filter.test.ts:5:30 + ❯ ../../packages/runner/dist/index.js:535:5 + ❯ runTest ../../packages/runner/dist/index.js:1065:11 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/filter.test.ts:10:18
specs/fix-4686.test.ts > tests run in presence of config.base: test/browser/specs/fix-4686.test.ts#L14
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to be '' // Object.is equality - Expected + Received + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at D:\a\vitest\vitest\.cache\ms-playwright\firefox-1465\firefox\firefox.exe + ╔═════════════════════════════════════════════════════════════════════════╗ + ║ 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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/fix-4686.test.ts:7:27 + ❯ ../../packages/runner/dist/index.js:535:5 + ❯ runTest ../../packages/runner/dist/index.js:1065:11 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/fix-4686.test.ts:14:18
specs/runner.test.ts > running browser tests > tests are actually running: test/browser/specs/runner.test.ts#L31
AssertionError: expected [] to have a length of 19 but got +0 - Expected + Received - 19 + 0 ❯ specs/runner.test.ts:31:43
specs/runner.test.ts > running browser tests > runs in-source tests: test/browser/specs/runner.test.ts#L41
AssertionError: expected '\n RUN v2.2.0-beta.2 D:/a/vitest/vit…' to contain 'src/actions.ts' - Expected + Received - src/actions.ts + + RUN v2.2.0-beta.2 D:/a/vitest/vitest/test/browser + + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + Test Files no tests + Tests no tests + Errors 1 error + Start at 11:36:02 + Duration 511ms (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) + + JSON report written to D:/a/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:41:20
specs/runner.test.ts > running browser tests > correctly prints error: test/browser/specs/runner.test.ts#L48
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to contain 'expected 1 to be 2' - Expected + Received - expected 1 to be 2 + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at D:\a\vitest\vitest\.cache\ms-playwright\firefox-1465\firefox\firefox.exe + ╔═════════════════════════════════════════════════════════════════════════╗ + ║ 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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/runner.test.ts:16:9 + ❯ callSuiteHook ../../packages/runner/dist/index.js:973:22 + ❯ runSuite ../../packages/runner/dist/index.js:1185:29 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/runner.test.ts:48:20
specs/runner.test.ts > running browser tests > logs are redirected to stdout: test/browser/specs/runner.test.ts#L57
AssertionError: expected '\n RUN v2.2.0-beta.2 D:/a/vitest/vit…' to contain 'stdout | test/logs.test.ts > logging …' - Expected + Received - stdout | test/logs.test.ts > logging to stdout + + RUN v2.2.0-beta.2 D:/a/vitest/vitest/test/browser + + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + Test Files no tests + Tests no tests + Errors 1 error + Start at 11:36:02 + Duration 511ms (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) + + JSON report written to D:/a/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:57:20
specs/runner.test.ts > running browser tests > logs are redirected to stderr: test/browser/specs/runner.test.ts#L83
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to contain 'stderr | test/logs.test.ts > logging …' - Expected + Received - stderr | test/logs.test.ts > logging to stderr + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at D:\a\vitest\vitest\.cache\ms-playwright\firefox-1465\firefox\firefox.exe + ╔═════════════════════════════════════════════════════════════════════════╗ + ║ 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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/runner.test.ts:16:9 + ❯ callSuiteHook ../../packages/runner/dist/index.js:973:22 + ❯ runSuite ../../packages/runner/dist/index.js:1185:29 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/runner.test.ts:83:20
specs/runner.test.ts > running browser tests > logs have stack traces in non-safari: test/browser/specs/runner.test.ts#L93
AssertionError: expected '\n RUN v2.2.0-beta.2 D:/a/vitest/vit…' to match 'log with a stack\n ❯ test/logs.test.t…' - Expected + Received - log with a stack - ❯ test/logs.test.ts:58:10 + + RUN v2.2.0-beta.2 D:/a/vitest/vitest/test/browser + + ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯ + + Vitest caught 1 unhandled error during the test run. + This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected. + ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ + + Test Files no tests + Tests no tests + Errors 1 error + Start at 11:36:02 + Duration 511ms (transform 0ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 0ms) + + JSON report written to D:/a/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:93:20
specs/runner.test.ts > running browser tests > stack trace points to correct file in every browser: test/browser/specs/runner.test.ts#L121
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to match /test\/faili…/failing.test.ts:10:(12|17) - Expected: /test\/failing.test.ts:10:(12|17)/ + Received: " ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ Error: browserType.launch: Executable doesn't exist at D:\\a\\vitest\\vitest\\.cache\\ms-playwright\\firefox-1465\\firefox\\firefox.exe ╔═════════════════════════════════════════════════════════════════════════╗ ║ 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 ║ ╚═════════════════════════════════════════════════════════════════════════╝ ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 ❯ executeTests ../../packages/browser/dist/index.js:2663:5 ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 ❯ Module.runVitest ../test-utils/index.ts:64:11 ❯ specs/runner.test.ts:16:9 ❯ callSuiteHook ../../packages/runner/dist/index.js:973:22 ❯ runSuite ../../packages/runner/dist/index.js:1185:29 ❯ runSuite ../../packages/runner/dist/index.js:1215:15 ❯ runFiles ../../packages/runner/dist/index.js:1272:5 ❯ startTests ../../packages/runner/dist/index.js:1281:3 ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 ❯ execute ../../packages/vitest/dist/worker.js:127:5 ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 " ❯ specs/runner.test.ts:121:20
specs/runner.test.ts > running browser tests > popup apis should log a warning: test/browser/specs/runner.test.ts#L133
AssertionError: expected '\n⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯\nErr…' to contain 'Vitest encountered a `alert("test")`' - Expected + Received - Vitest encountered a `alert("test")` + + ⎯⎯⎯⎯⎯⎯ Unhandled Error ⎯⎯⎯⎯⎯⎯⎯ + Error: browserType.launch: Executable doesn't exist at D:\a\vitest\vitest\.cache\ms-playwright\firefox-1465\firefox\firefox.exe + ╔═════════════════════════════════════════════════════════════════════════╗ + ║ 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 ║ + ╚═════════════════════════════════════════════════════════════════════════╝ + ❯ ../../packages/browser/dist/webdriver-D_iJtW8f.js:50:58 + ❯ PlaywrightBrowserProvider.createContext ../../packages/browser/dist/webdriver-D_iJtW8f.js:61:21 + ❯ PlaywrightBrowserProvider.openBrowserPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:113:21 + ❯ PlaywrightBrowserProvider.openPage ../../packages/browser/dist/webdriver-D_iJtW8f.js:131:25 + ❯ executeTests ../../packages/browser/dist/index.js:2663:5 + ❯ runWorkspaceTests ../../packages/browser/dist/index.js:2681:7 + ❯ executeTests ../../packages/vitest/dist/chunks/resolveConfig.eTrbZDqb.js:7687:5 + ❯ ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11070:11 + ❯ Vitest.runFiles ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:11094:12 + ❯ Vitest.start ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:10934:7 + ❯ Module.startVitest ../../packages/vitest/dist/chunks/cli-api.CN2GGjHt.js:12130:7 + ❯ Module.runVitest ../test-utils/index.ts:64:11 + ❯ specs/runner.test.ts:16:9 + ❯ callSuiteHook ../../packages/runner/dist/index.js:973:22 + ❯ runSuite ../../packages/runner/dist/index.js:1185:29 + ❯ runSuite ../../packages/runner/dist/index.js:1215:15 + ❯ runFiles ../../packages/runner/dist/index.js:1272:5 + ❯ startTests ../../packages/runner/dist/index.js:1281:3 + ❯ ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:126:11 + ❯ withEnv ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:90:5 + ❯ run ../../packages/vitest/dist/chunks/runBaseTests.URHQdbvd.js:112:3 + ❯ runBaseTests ../../packages/vitest/dist/chunks/base.D8HHVmlT.js:29:3 + ❯ ForksBaseWorker.executeTests ../../packages/vitest/dist/workers/forks.js:27:7 + ❯ execute ../../packages/vitest/dist/worker.js:127:5 + ❯ onMessage ../../node_modules/.pnpm/[email protected]/node_modules/tinypool/dist/entry/process.js:55:20 + + + ❯ specs/runner.test.ts:133:20
specs/filter.test.ts > filter: test/browser/specs/filter.test.ts#L11
AssertionError: expected '\n RUN v2.2.0-beta.2 D:/a/vitest/vit…' to contain '✓ test/basic.test.ts > basic 2' - Expected + Received - ✓ test/basic.test.ts > basic 2 + + RUN v2.2.0-beta.2 D:/a/vitest/vitest/test/browser + + ✓ |firefox| test/basic.test.ts > basic 2 + ✓ |webkit| test/basic.test.ts > basic 2 + + Test Files 2 passed (2) + Tests 2 passed | 6 skipped (8) + Start at 11:36:06 + Duration 4.80s (transform 0ms, setup 0ms, collect 15ms, tests 25ms, environment 0ms, prepare 738ms) + + ❯ specs/filter.test.ts:11:18
specs/runner.test.ts > running browser tests > tests are actually running: test/browser/specs/runner.test.ts#L31
AssertionError: expected [ { …(6) }, { …(6) } ] to have a length of 19 but got 2 - Expected + Received - 19 + 2 ❯ specs/runner.test.ts:31:43
specs/runner.test.ts > running browser tests > runs in-source tests: test/browser/specs/runner.test.ts#L41
AssertionError: expected '\n RUN v2.2.0-beta.2 D:/a/vitest/vit…' to contain 'src/actions.ts' - Expected + Received - src/actions.ts + + RUN v2.2.0-beta.2 D:/a/vitest/vitest/test/browser + + ✓ |firefox| test/another.test.ts (2 tests) 5ms + ✓ |webkit| test/another.test.ts (2 tests) 42ms + + Test Files 2 passed (2) + Tests 4 passed (4) + Start at 11:34:45 + Duration 8.64s (transform 0ms, setup 0ms, collect 12ms, tests 47ms, environment 0ms, prepare 900ms) + + JSON report written to D:/a/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:41:20
specs/runner.test.ts > running browser tests > correctly prints error: test/browser/specs/runner.test.ts#L48
AssertionError: expected '' to contain 'expected 1 to be 2' - Expected + Received - expected 1 to be 2 ❯ specs/runner.test.ts:48:20
specs/runner.test.ts > running browser tests > logs are redirected to stdout: test/browser/specs/runner.test.ts#L57
AssertionError: expected '\n RUN v2.2.0-beta.2 D:/a/vitest/vit…' to contain 'stdout | test/logs.test.ts > logging …' - Expected + Received - stdout | test/logs.test.ts > logging to stdout + + RUN v2.2.0-beta.2 D:/a/vitest/vitest/test/browser + + ✓ |firefox| test/another.test.ts (2 tests) 5ms + ✓ |webkit| test/another.test.ts (2 tests) 42ms + + Test Files 2 passed (2) + Tests 4 passed (4) + Start at 11:34:45 + Duration 8.64s (transform 0ms, setup 0ms, collect 12ms, tests 47ms, environment 0ms, prepare 900ms) + + JSON report written to D:/a/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:57:20
specs/runner.test.ts > running browser tests > logs are redirected to stderr: test/browser/specs/runner.test.ts#L83
AssertionError: expected '' to contain 'stderr | test/logs.test.ts > logging …' - Expected + Received - stderr | test/logs.test.ts > logging to stderr ❯ specs/runner.test.ts:83:20
specs/runner.test.ts > running browser tests > logs have stack traces in non-safari: test/browser/specs/runner.test.ts#L93
AssertionError: expected '\n RUN v2.2.0-beta.2 D:/a/vitest/vit…' to match 'log with a stack\n ❯ test/logs.test.t…' - Expected + Received - log with a stack - ❯ test/logs.test.ts:58:10 + + RUN v2.2.0-beta.2 D:/a/vitest/vitest/test/browser + + ✓ |firefox| test/another.test.ts (2 tests) 5ms + ✓ |webkit| test/another.test.ts (2 tests) 42ms + + Test Files 2 passed (2) + Tests 4 passed (4) + Start at 11:34:45 + Duration 8.64s (transform 0ms, setup 0ms, collect 12ms, tests 47ms, environment 0ms, prepare 900ms) + + JSON report written to D:/a/vitest/vitest/test/browser/browser.json + ❯ specs/runner.test.ts:93:20
specs/runner.test.ts > running browser tests > stack trace points to correct file in every browser: test/browser/specs/runner.test.ts#L121
AssertionError: expected '' to match /test\/faili…/failing.test.ts:10:(12|17) - Expected: /test\/failing.test.ts:10:(12|17)/ + Received: "" ❯ specs/runner.test.ts:121:20
specs/runner.test.ts > running browser tests > popup apis should log a warning: test/browser/specs/runner.test.ts#L133
AssertionError: expected '' to contain 'Vitest encountered a `alert("test")`' - Expected + Received - Vitest encountered a `alert("test")` ❯ specs/runner.test.ts:133:20
specs/runner.test.ts > running browser tests > snapshot inaccessible file debuggability: test/browser/specs/runner.test.ts#L139
AssertionError: expected '' to contain 'Access denied to "/inaccesible/path".' - Expected + Received - Access denied to "/inaccesible/path". ❯ specs/runner.test.ts:139:20
Build&Test: node-20, windows-latest
Canceling since a higher priority waiting request for 'ci-6975' exists
Build&Test: node-20, windows-latest
The operation was canceled.
Build&Test: node-22, ubuntu-latest
Canceling since a higher priority waiting request for 'ci-6975' exists
Build&Test: node-22, ubuntu-latest
The operation was canceled.
Build&Test: node-18, ubuntu-latest
Canceling since a higher priority waiting request for 'ci-6975' exists
Build&Test: node-18, ubuntu-latest
The operation was canceled.
Build&Test: node-20, ubuntu-latest
Canceling since a higher priority waiting request for 'ci-6975' exists
Build&Test: node-20, ubuntu-latest
The operation was canceled.
Build&Test: node-20, macos-latest
Canceling since a higher priority waiting request for 'ci-6975' exists
Build&Test: node-20, macos-latest
The operation was canceled.