Skip to content

Commit

Permalink
test: fix delay auth service - mandatory case
Browse files Browse the repository at this point in the history
  • Loading branch information
LeVinhGithub committed Sep 3, 2024
1 parent dad7f2a commit f3195c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authservice/login-with-passwordless/AuthServicePage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ export class AuthServicePage {
await this.page.keyboard.press("Delete");
}

await delay(15000);
const newToken = speakeasy.totp({
secret,
encoding: "base32",
step: 30,
});

await delay(15000);
await this.page.locator(`xpath=.//input[@data-test='single-input']`).first().type(newToken);
}
}
Expand Down

0 comments on commit f3195c3

Please sign in to comment.