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
test(ui): wait for step search value to settle in TraceDrawer test (#44470)
devin-ai-integration[bot]c80e6e24742a
diff --git a/ui/litellm-dashboard/src/components/view_logs/TraceView/TraceDrawer.test.tsx b/ui/litellm-dashboard/src/components/view_logs/TraceView/TraceDrawer.test.tsxindex 77ef5d3bfac..c830a82032a 100644--- a/ui/litellm-dashboard/src/components/view_logs/TraceView/TraceDrawer.test.tsx+++ b/ui/litellm-dashboard/src/components/view_logs/TraceView/TraceDrawer.test.tsx@@ -316,12 +316,14 @@ describe("RunView", () => {});it("does not navigate steps while typing or moving the search cursor", async () => {- const user = userEvent.setup();renderRun(research);const search = await screen.findByRole("textbox", { name: "Search steps" });const selected = screen.getByTestId("detail-pane").getAttribute("data-row-id");- await user.type(search, "jk{ArrowDown}{ArrowUp}");+ fireEvent.change(search, { target: { value: "jk" } });expect(search).toHaveValue("jk");+ for (const key of ["j", "k", "ArrowDown", "ArrowUp"]) {+ fireEvent.keyDown(search, { key });+ }expect(screen.getByTestId("detail-pane")).toHaveAttribute("data-row-id", selected);});