diff --git a/web/e2e-tests/settings.test.ts b/web/e2e-tests/settings.test.ts index 91ec7b086c..28b0662df2 100644 --- a/web/e2e-tests/settings.test.ts +++ b/web/e2e-tests/settings.test.ts @@ -30,6 +30,8 @@ async function open_settings(page: Page): Promise { page_url.includes("/#settings/"), `Page url: ${page_url} does not contain /#settings/`, ); + // Wait for settings overlay to open. + await page.waitForSelector("#settings_overlay_container", {visible: true}); } async function close_settings_and_date_picker(page: Page): Promise {