Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/ui-tools.spec.ts
Original file line numberDiff line numberDiff line change
Expand Up@@ -980,7 +980,9 @@ test.describe("Clinical KB tools launcher", () => {
timeout: 20_000,
});
if (route.ribbonQuery) {
const ribbon = page.getByTestId("search-query-ribbon");
// Prefer the settled visible ribbon — CI can leave a hidden Next
// streaming `#S:1` clone beside the live band (outstanding #093).
const ribbon = visibleByTestId(page, "search-query-ribbon");
await expect(ribbon, `${route.path} at ${viewport.name}`).toBeVisible({ timeout: 20_000 });
await expect(ribbon.getByRole("heading", { name: route.ribbonQuery })).toBeVisible();
await expect(ribbon.getByRole("status")).toBeVisible();
Expand Down
Loading