We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b24b584 commit 6976ca4Copy full SHA for 6976ca4
apps/web/tests/login-page.ts
@@ -20,7 +20,7 @@ export class LoginPage {
20
21
// Handle verification code
22
const code = await getCode(email);
23
- await this.page.getByText("Finish Logging In").waitFor();
+ await this.page.getByRole("heading", { name : "Finish Logging In" }).waitFor();
24
await this.page.getByPlaceholder("Enter your 6-digit code").fill(code);
25
26
// Wait for page to load
0 commit comments