Skip to content

Commit

Permalink
fix: revert aws
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed Aug 22, 2024
1 parent 3994c51 commit 713705a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/aws/with-emailpassword/test/basic.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,10 @@ describe("SuperTokens Example Basic tests", function () {
{ name: "password", value: testPW },
]);
await submitForm(page);
const callApiBtn = await page.waitForSelector(".sessionButton");
await page.waitForNavigation();
const userList = await SuperTokensNode.listUsersByAccountInfo("public", { email });
const user = userList[0];
const callApiBtn = await page.waitForSelector(".sessionButton");
let setAlertContent;
let alertContent = new Promise((res) => (setAlertContent = res));
page.on("dialog", async (dialog) => {
Expand Down

0 comments on commit 713705a

Please sign in to comment.