Skip to content

Commit fe1d9aa

Browse files
committed
Fix test:banner CI failure by importing chromium from @playwright/test
1 parent 382eeb0 commit fe1d9aa

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

scripts/test-browser-banner.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ import {
88
} from 'node:fs'
99
import {join} from 'node:path'
1010
import {tmpdir} from 'node:os'
11-
import {chromium} from 'playwright'
11+
// `playwright` is a transitive dependency via `@playwright/test`; importing it
12+
// directly only resolves when pnpm hoists it (default locally, off in CI).
13+
// The runner package re-exports the same browser launchers, so use it.
14+
import {chromium} from '@playwright/test'
1215

1316
function runUntilMatch(
1417
command,

0 commit comments

Comments
 (0)