Skip to content

Commit b05586f

Browse files
authored
fix: flaky e2e tests (#777)
* fix: breaking e2e tests due to removal of success screen * fix: breaking e2e tests
1 parent 287ea2d commit b05586f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/end-to-end/passwordless.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1767,6 +1767,8 @@ export function getPasswordlessTestCases({ authRecipe, logId, generalErrorRecipe
17671767
await setInputValues(anotherTab, [{ name: "userInputCode", value: device.codes[0].userInputCode }]);
17681768
await submitForm(anotherTab);
17691769

1770+
await anotherTab.waitForSelector(".sessionInfo-user-id");
1771+
17701772
await page.reload({ waitUntil: ["networkidle0"] });
17711773

17721774
await page.waitForSelector(".sessionInfo-user-id");

0 commit comments

Comments
 (0)