box the fixture to hide it
This commit is contained in:
parent
a1618d2f2e
commit
f2cba29b85
|
|
@ -136,7 +136,7 @@ const playwrightFixtures: Fixtures<TestFixtures, WorkerFixtures> = ({
|
||||||
const localUtils: LocalUtils = (playwright as any)._connection.localUtils();
|
const localUtils: LocalUtils = (playwright as any)._connection.localUtils();
|
||||||
const { mockingProxy } = await localUtils._channel.newMockingProxy({ port });
|
const { mockingProxy } = await localUtils._channel.newMockingProxy({ port });
|
||||||
await use((mockingProxy as any)._object);
|
await use((mockingProxy as any)._object);
|
||||||
}, { scope: 'worker' }],
|
}, { scope: 'worker', box: true }],
|
||||||
|
|
||||||
acceptDownloads: [({ contextOptions }, use) => use(contextOptions.acceptDownloads ?? true), { option: true }],
|
acceptDownloads: [({ contextOptions }, use) => use(contextOptions.acceptDownloads ?? true), { option: true }],
|
||||||
bypassCSP: [({ contextOptions }, use) => use(contextOptions.bypassCSP ?? false), { option: true }],
|
bypassCSP: [({ contextOptions }, use) => use(contextOptions.bypassCSP ?? false), { option: true }],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue