Skip to content

Commit

Permalink
[CHORE] Fix facet filter test (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesPeck authored Nov 5, 2024
1 parent d6a8703 commit 732a095
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/routes/explorer/facets/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,10 @@ test.describe('Facet Categories', () => {
await searchInput.fill('Study Display');
await expect(searchInput).toHaveValue('Study Display');
const facetItems = await facetList.locator('label').all();
facetItems.forEach(async (facetItem) => {
for (const facetItem of facetItems) {
const facetItemText = await facetItem.textContent();
expect(facetItemText).toContain('Study Display');
});
}
}
}
});
Expand Down

0 comments on commit 732a095

Please sign in to comment.