diff --git a/tests/McpContext.test.ts b/tests/McpContext.test.ts index d84b506cb..31a6c88b3 100644 --- a/tests/McpContext.test.ts +++ b/tests/McpContext.test.ts @@ -89,10 +89,6 @@ describe('McpContext', () => { await withMcpContext( async (_response, context) => { const page = await context.newPage(); - // TODO: we do not know when the CLI flag to auto open DevTools will run - // so we need this until - // https://github.com/puppeteer/puppeteer/issues/14368 is there. - await new Promise(resolve => setTimeout(resolve, 5000)); await context.createPagesSnapshot(); assert.ok(context.getDevToolsPage(page.pptrPage)); },