From e5316b0daec1d1a42c6f53748673c0c9103076c6 Mon Sep 17 00:00:00 2001 From: Ankit Tiwari Date: Mon, 11 Dec 2023 14:36:07 +0530 Subject: [PATCH] fix: breaking e2e tests --- test/end-to-end/passwordless.test.js | 2 ++ 1 file changed, 2 insertions(+) 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");