Skip to content

Commit

Permalink
fix: flaky e2e tests (#777)
Browse files Browse the repository at this point in the history
* fix: breaking e2e tests due to removal of success screen

* fix: breaking e2e tests
  • Loading branch information
anku255 committed Dec 11, 2023
1 parent 287ea2d commit b05586f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/end-to-end/passwordless.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit b05586f

Please sign in to comment.