Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

test(ui): open the ranking section before reading the queue position (#3416)

Raghav Chamadiya9aa7672df04b
diff --git a/packages/ui/__tests__/health/performance-view.test.tsx b/packages/ui/__tests__/health/performance-view.test.tsx
index c57be8995..30f6264ab 100644
--- a/packages/ui/__tests__/health/performance-view.test.tsx
+++ b/packages/ui/__tests__/health/performance-view.test.tsx
@@ -219,6 +219,7 @@ describe("PerformanceView drawer", () => {
const first = await openFirstRow();
expect(within(first).getByText("1")).toBeTruthy();
const panel = await screen.findByRole("dialog");
+ expand(panel, "Why it ranks here");
expect(within(panel).getByText(/Position/).textContent).toMatch(/^Position 1 in the queue/);
});