Skip to content

Commit

Permalink
Fix search test that were randomly failing (#1055)
Browse files Browse the repository at this point in the history
  • Loading branch information
owi92 authored Jan 9, 2024
2 parents 631c559 + eacc02f commit fbf4dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/tests/search.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ test("Search", async ({ page }) => {
});

await test.step("Should show search results", async () => {
expect(page.getByText("Search results")).toBeVisible();
await expect(page.getByText("Search results")).toBeVisible();
const results = page
.locator("li")
.filter({ hasText: "video" })
Expand Down

0 comments on commit fbf4dcb

Please sign in to comment.