Skip to content

Commit

Permalink
Fix test flake in pages.spec.ts (#4709)
Browse files Browse the repository at this point in the history
  • Loading branch information
zackkrida authored Aug 2, 2024
1 parent 09dd026 commit b74d8b0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ test.describe("layout color is set correctly", () => {

await expect(languageSelect).toHaveValue("en")
await languageSelect.selectOption("ar")
const searchBar = page.getByRole("searchbox")

await page.waitForURL(/ar/)

const searchBar = page.getByRole("searchbox")
await searchBar.fill("cat")
await searchBar.press("Enter")

Expand Down

0 comments on commit b74d8b0

Please sign in to comment.