Skip to content

Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors

test(e2e): fix Playwright strict mode ambiguity with all tab locator

diegosouzapweb62d6368bbe
diff --git a/tests/e2e/combo-unification.spec.ts b/tests/e2e/combo-unification.spec.ts
index 179a827b90..00a8967489 100644
--- a/tests/e2e/combo-unification.spec.ts
+++ b/tests/e2e/combo-unification.spec.ts
@@ -140,7 +140,7 @@ test.describe("Combo Unification", () => {
test.skip(page.url().includes("/login"), "Authentication enabled without a login fixture.");
- await expect(page.getByRole("button", { name: /all/i })).toBeVisible();
+ await expect(page.getByRole("button", { name: /^layers all$/i })).toBeVisible();
await expect(page.getByRole("button", { name: /intelligent/i })).toBeVisible();
await expect(page.getByRole("button", { name: /deterministic/i })).toBeVisible();
await expect(page.getByText("Intelligent Routing Dashboard")).toBeVisible();