The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(e2e): broaden Copy Key button regex to match both modal versions
Yuneng Jiang2e0af3795afb
diff --git a/ui/litellm-dashboard/e2e_tests/tests/proxy-admin/keys.spec.ts b/ui/litellm-dashboard/e2e_tests/tests/proxy-admin/keys.spec.tsindex be6f5cab47b..14ceb1a4a6b 100644--- a/ui/litellm-dashboard/e2e_tests/tests/proxy-admin/keys.spec.ts+++ b/ui/litellm-dashboard/e2e_tests/tests/proxy-admin/keys.spec.ts@@ -68,8 +68,8 @@ test.describe("Proxy Admin - Keys", () => {const modal = page.locator(".ant-modal:visible");await modal.getByRole("button", { name: /Regenerate/ }).click();- // Success view shows a Copy Key button in the footer- await expect(modal.getByRole("button", { name: /Copy Key/ })).toBeVisible({ timeout: 20_000 });+ // Success view shows a Copy button in the footer (text varies between modal versions)+ await expect(modal.getByRole("button", { name: /Copy.*Key/ })).toBeVisible({ timeout: 20_000 });});test("Update key TPM and RPM limits", async ({ page }) => {