Fix E2E: accept Terms of Service checkbox before passkey registration
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
5c299ab9f3
commit
9959ce90e6
1 changed files with 1 additions and 0 deletions
|
|
@ -60,6 +60,7 @@ async function registerAndLogin(page: Page, cdp: CDPSession) {
|
|||
await page.goto("/auth/register");
|
||||
await page.getByLabel("Email").fill(email);
|
||||
await page.getByLabel("Username").fill(username);
|
||||
await page.getByRole("checkbox").check();
|
||||
await page.getByRole("button", { name: /Register with Passkey/ }).click();
|
||||
await expect(page).toHaveURL("/", { timeout: 10000 });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue