diff --git a/test/end-to-end/passwordless.test.js b/test/end-to-end/passwordless.test.js index 9b63c2ec4..38b1d35a6 100644 --- a/test/end-to-end/passwordless.test.js +++ b/test/end-to-end/passwordless.test.js @@ -1767,6 +1767,8 @@ export function getPasswordlessTestCases({ authRecipe, logId, generalErrorRecipe await setInputValues(anotherTab, [{ name: "userInputCode", value: device.codes[0].userInputCode }]); await submitForm(anotherTab); + await anotherTab.waitForSelector(".sessionInfo-user-id"); + await page.reload({ waitUntil: ["networkidle0"] }); await page.waitForSelector(".sessionInfo-user-id");