chore: normalize --no- options (#413)
This commit is contained in:
parent
ab20175826
commit
ee33097abe
2 changed files with 15 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue