Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: wait for reminder dialog to close before proceeding in tests

Abdullah Atta85a2d25c1b04
diff --git a/apps/web/__e2e__/models/utils.ts b/apps/web/__e2e__/models/utils.ts
index e07c46995..aa24381e3 100644
--- a/apps/web/__e2e__/models/utils.ts
+++ b/apps/web/__e2e__/models/utils.ts
@@ -91,6 +91,7 @@ export async function fillReminderDialog(
}
await confirmDialog(dialog);
+ await dialog.waitFor({ state: "hidden" });
}
export async function fillItemDialog(page: Page, item: Item) {