Skip to content

Commit

Permalink
Remove terms check in login test
Browse files Browse the repository at this point in the history
  • Loading branch information
kcze committed Dec 24, 2024
1 parent fa2951c commit d3fdffd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions autogpt_platform/frontend/src/tests/pages/login.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ export class LoginPage {
await passwordInput.waitFor({ state: "visible" });
await passwordInput.fill(password);

// Check terms
const termsCheckbox = this.page.getByLabel("I agree to the Terms of Use");
await termsCheckbox.waitFor({ state: "visible" });
await termsCheckbox.click();

// TODO: This is a workaround to wait for the page to load after filling the email and password
const emailInput2 = this.page.getByPlaceholder("m@example.com");
await emailInput2.waitFor({ state: "visible" });
Expand Down

0 comments on commit d3fdffd

Please sign in to comment.