Skip to content

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]

test(e2e/ui): assert the log drawer chevrons by their lucide classes

Yuneng Jiangde2b220c36d3
diff --git a/tests/e2e/ui/tests/logs/logs.spec.ts b/tests/e2e/ui/tests/logs/logs.spec.ts
index c1182a7ca5c..b29a72cbf81 100644
--- a/tests/e2e/ui/tests/logs/logs.spec.ts
+++ b/tests/e2e/ui/tests/logs/logs.spec.ts
@@ -129,17 +129,17 @@ test.describe("Logs page", () => {
// box, so the wrapper reads as hidden while the clipped text node inside it does not.
const header = sectionHeader(drawer, "Input");
const body = header.locator("xpath=following-sibling::div[1]");
- await expect(header.locator(".anticon-up")).toBeVisible();
+ await expect(header.locator(".lucide-chevron-up")).toBeVisible();
await expect(body).toBeVisible();
await header.click();
- await expect(header.locator(".anticon-down")).toBeVisible({
+ await expect(header.locator(".lucide-chevron-down")).toBeVisible({
timeout: 10_000,
});
await expect(body).toBeHidden({ timeout: 10_000 });
await header.click();
- await expect(header.locator(".anticon-up")).toBeVisible({
+ await expect(header.locator(".lucide-chevron-up")).toBeVisible({
timeout: 10_000,
});
await expect(body).toBeVisible({ timeout: 10_000 });