From b4ab7f2a0d92a75a3425d61d0438a9f253fe6d75 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Fri, 31 Mar 2023 17:24:15 -0300 Subject: [PATCH] flaky tests --- e2e/helpers/app.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/e2e/helpers/app.ts b/e2e/helpers/app.ts index 426c5aae4..4ac521d34 100644 --- a/e2e/helpers/app.ts +++ b/e2e/helpers/app.ts @@ -168,6 +168,7 @@ async function tapAndWaitFor( await elementToTap.tap(); } await waitFor(elementToWaitFor).toBeVisible().withTimeout(1000); + await sleep(300); // Wait for animation } catch (e) { if (timeout <= 0) { throw e;