flaky tests

This commit is contained in:
Diego Mello 2023-03-31 17:24:15 -03:00
parent f3b310db5b
commit b4ab7f2a0d
1 changed files with 1 additions and 0 deletions

View File

@ -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;