Skip to content

Commit 7501c03

Browse files
committed
adds delay in test to make it more robust
1 parent f3b46d1 commit 7501c03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/end-to-end/mfa.helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export async function tryPasswordlessSignInUp(page, contactInfo, queryParams, is
211211
}
212212
export async function goToFactorChooser(page, waitForList = true) {
213213
const ele = await page.waitForSelector(".goToFactorChooser");
214-
await waitFor(100);
214+
await waitFor(500);
215215
await Promise.all([page.waitForNavigation({ waitUntil: "networkidle0" }), ele.click()]);
216216
if (waitForList) {
217217
await waitForSTElement(page, "[data-supertokens~=factorChooserList]");

0 commit comments

Comments
 (0)