Skip to content

Commit

Permalink
fix: breaking e2e tests due to removal of success screen
Browse files Browse the repository at this point in the history
  • Loading branch information
anku255 committed Dec 11, 2023
1 parent 6e35e00 commit 2d90ba6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/end-to-end/passwordless.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1632,8 +1632,6 @@ export function getPasswordlessTestCases({ authRecipe, logId, generalErrorRecipe
await anotherTab.goto(device.codes[0].urlWithLinkCode);
await anotherTab.waitForSelector(".sessionInfo-user-id");

await waitForText(page, "[data-supertokens~=headerTitle]", "Success!");

await page.reload({ waitUntil: ["networkidle0"] });

await page.waitForSelector(".sessionInfo-user-id");
Expand Down Expand Up @@ -1769,8 +1767,6 @@ export function getPasswordlessTestCases({ authRecipe, logId, generalErrorRecipe
await setInputValues(anotherTab, [{ name: "userInputCode", value: device.codes[0].userInputCode }]);
await submitForm(anotherTab);

await waitForText(page, "[data-supertokens~=headerTitle]", "Success!");

await page.reload({ waitUntil: ["networkidle0"] });

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

0 comments on commit 2d90ba6

Please sign in to comment.