Skip to content

Commit

Permalink
Increase the timeout before taking a dark snapshot (#5106)
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat authored Oct 30, 2024
1 parent c96e1af commit 0f981f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/test/playwright/utils/expect-snapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const expectSnapshot: ExpectSnapshot = async (
await turnOnDarkMode(page, dir ?? "ltr")

// Wait for the theme to change.
await sleep(100)
await sleep(200)

expect(await screenshotAble.screenshot(screenshotOptions)).toMatchSnapshot(
getSnapshotName(name, "dark"),
Expand Down

0 comments on commit 0f981f0

Please sign in to comment.