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
e2e ui testing fixes
Ishaan Jaff2fdbcca9aef1
diff --git a/tests/proxy_admin_ui_tests/e2e_ui_tests/login_to_ui.spec.ts b/tests/proxy_admin_ui_tests/e2e_ui_tests/login_to_ui.spec.tsindex 730e5eec300..f5148bed16d 100644--- a/tests/proxy_admin_ui_tests/e2e_ui_tests/login_to_ui.spec.ts+++ b/tests/proxy_admin_ui_tests/e2e_ui_tests/login_to_ui.spec.ts@@ -31,18 +31,14 @@ test('admin login test', async ({ page }) => {'Usage','Teams','Internal User',- 'Logging & Alerts',- 'Caching',- 'Budgets',- 'Router Settings',- 'Pass-through',- 'Admin Settings',+ 'Settings',+ 'Experimental','API Reference','Model Hub'];for (const tab of tabs) {- const tabElement = page.locator('p.text-tremor-default.text-tremor-content.dark\\:text-dark-tremor-content', { hasText: tab });+ const tabElement = page.locator('span.ant-menu-title-content', { hasText: tab });await tabElement.click();}});diff --git a/tests/proxy_admin_ui_tests/e2e_ui_tests/view_internal_user.spec.ts b/tests/proxy_admin_ui_tests/e2e_ui_tests/view_internal_user.spec.tsindex d74a24fa7ca..599bfaf1662 100644--- a/tests/proxy_admin_ui_tests/e2e_ui_tests/view_internal_user.spec.ts+++ b/tests/proxy_admin_ui_tests/e2e_ui_tests/view_internal_user.spec.ts@@ -21,7 +21,7 @@ test('view internal user page', async ({ page }) => {// Optionally, you can click the login button to submit the formawait loginButton.click();- const tabElement = page.locator('p.text-tremor-default.text-tremor-content.dark\\:text-dark-tremor-content', { hasText: 'Internal User' });+ const tabElement = page.locator('span.ant-menu-title-content', { hasText: 'Internal User' });await tabElement.click();// try to click on button