box the fixture to hide it

This commit is contained in:
Simon Knott 2025-01-27 13:28:47 +01:00
parent a1618d2f2e
commit f2cba29b85
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -136,7 +136,7 @@ const playwrightFixtures: Fixtures<TestFixtures, WorkerFixtures> = ({
const localUtils: LocalUtils = (playwright as any)._connection.localUtils();
const { mockingProxy } = await localUtils._channel.newMockingProxy({ port });
await use((mockingProxy as any)._object);
}, { scope: 'worker' }],
}, { scope: 'worker', box: true }],
acceptDownloads: [({ contextOptions }, use) => use(contextOptions.acceptDownloads ?? true), { option: true }],
bypassCSP: [({ contextOptions }, use) => use(contextOptions.bypassCSP ?? false), { option: true }],