Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(e2e): wait for registry popup navigation

Steven Enamakel59a98a85ff89
diff --git a/app/test/playwright/specs/mcp-tab-flow.spec.ts b/app/test/playwright/specs/mcp-tab-flow.spec.ts
index 034c70635c..0a633ba6b3 100644
--- a/app/test/playwright/specs/mcp-tab-flow.spec.ts
+++ b/app/test/playwright/specs/mcp-tab-flow.spec.ts
@@ -603,7 +603,7 @@ test.describe('MCP page — Registry tab', () => {
const popup = context.waitForEvent('page');
await page.getByRole('button', { name: 'Open the page for GitHub Tools' }).click();
const opened = await popup;
- expect(opened.url()).toBe('https://github.com/test/github-tools');
+ await expect.poll(() => opened.url()).toBe('https://github.com/test/github-tools');
await opened.close();
});