Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Increase the timeout before taking a dark snapshot (#5106)

Olga Bulat0f981f0d51f5
diff --git a/frontend/test/playwright/utils/expect-snapshot.ts b/frontend/test/playwright/utils/expect-snapshot.ts
index 1cc4b4395..265274b1f 100644
--- a/frontend/test/playwright/utils/expect-snapshot.ts
+++ b/frontend/test/playwright/utils/expect-snapshot.ts
@@ -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"),