Skip to content

Commit

Permalink
Skip buggy search UI test for firefox (#1297)
Browse files Browse the repository at this point in the history
We tried fixing it but at this point, we give up. The error is just
really weird. We can only reproduce it locally very rarely, it happens
very regularly in CI though. It only happens in Firefox, the error is
really weird (Element not visible, but we asserted it visible in the
line before) and the trace is also useless for debugging this somehow.
  • Loading branch information
owi92 authored Dec 10, 2024
2 parents 978739b + 897954d commit fffda02
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/tests/search.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import { test } from "./util/data";
import { login, logout } from "./util/user";


test("Search", async ({ page, standardData, activeSearchIndex }) => {
test("Search", async ({ page, browserName, standardData, activeSearchIndex }) => {
test.skip(browserName === "firefox", "Test is buggy in Firefox somehow...");

await page.goto("/");
await page.waitForSelector("nav");
const searchField = page.getByPlaceholder("Search");
Expand Down

0 comments on commit fffda02

Please sign in to comment.