chore: normalize --no- options (#413)

This commit is contained in:
Pavel Feldman
2025-05-13 16:17:45 -07:00
committed by GitHub
parent ab20175826
commit ee33097abe
2 changed files with 15 additions and 4 deletions

View File

@@ -65,6 +65,8 @@ export const test = baseTest.extend<TestFixtures & TestOptions, WorkerFixtures>(
await use(async options => {
const args = ['--user-data-dir', path.relative(configDir, userDataDir)];
if (process.env.CI && process.platform === 'linux')
args.push('--no-sandbox');
if (mcpHeadless)
args.push('--headless');
if (mcpBrowser)