Skip to content

Commit

Permalink
changed locator to be valid
Browse files Browse the repository at this point in the history
  • Loading branch information
Mukhamediyar Kudaikulov committed Jul 13, 2024
1 parent ff30b0d commit b231a5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/e2e/pages/authPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ export class AuthPage {
this.ageInputField = page.getByLabel("How old are you?");
this.continueButton = page.locator('[type="submit"]').first();
this.verifyCodeInputField = page.locator("div.card input");
this.useDifferentEmailButton = page.locator("#use-different");
this.useDifferentEmailButton = page.locator(
'text="Use a different account"',
);
}

async continue({ waitForURL = "**/*" }) {
Expand Down

0 comments on commit b231a5f

Please sign in to comment.