diff --git a/tests/channels.spec.ts b/tests/channels.spec.ts index 0746850d46..3b35283b51 100644 --- a/tests/channels.spec.ts +++ b/tests/channels.spec.ts @@ -18,6 +18,10 @@ import domain from 'domain'; import { playwrightTest as it, expect } from './config/browserTest'; +// Use something worker-scoped (e.g. launch args) to force a new worker for this file. +// Otherwise, a browser launched for other tests in this worker will affect the expectations. +it.use({ args: [] }); + it('should scope context handles', async ({browserType, browserOptions, server}) => { const browser = await browserType.launch(browserOptions); const GOLDEN_PRECONDITION = {