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
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
import { test as setup, expect } from "@playwright/test";
import { STORAGE_STATE } from "./playwright.config";
// Locators confirmados em src/app/login/page.tsx: <Input type="password"> dentro de um
// <form onSubmit={handleLogin}> com <Button type="submit">{t("continue")}</Button>.
setup("autentica e salva storageState", async ({ page }) => {
await page.goto("/login");
await page.locator('input[type="password"]').fill(process.env.HOMOLOG_ADMIN_PASSWORD!);
await page.locator('button[type="submit"]').click();
await page.waitForURL(/\/dashboard/);
await expect(page).toHaveURL(/dashboard/);
await page.context().storageState({ path: STORAGE_STATE });
});