Thanks to visit codestin.com
Credit goes to github.com

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
5 changes: 4 additions & 1 deletion ui/e2e_tests/observability.inferences.filter.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,10 @@ test.describe("Inference Filtering", () => {
});

// All visible function cells should show write_haiku (confirming filter is active)
const functionCells = page.locator("tbody tr td:nth-child(3)");
// Filter visible elements to try to avoid the weird `<table hidden>` that briefly renders
const functionCells = page
.locator("tbody tr td:nth-child(3)")
.filter({ visible: true });
const count = await functionCells.count();
for (let i = 0; i < count; i++) {
await expect(functionCells.nth(i)).toContainText("write_haiku");
Expand Down
Loading