From d3fdffdaca76a1670924fe9cc8aa8f6bb2481210 Mon Sep 17 00:00:00 2001 From: Krzysztof Czerwinski Date: Tue, 24 Dec 2024 13:41:12 +0100 Subject: [PATCH] Remove terms check in login test --- autogpt_platform/frontend/src/tests/pages/login.page.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/autogpt_platform/frontend/src/tests/pages/login.page.ts b/autogpt_platform/frontend/src/tests/pages/login.page.ts index 3b0d60868bcc..4001ab565057 100644 --- a/autogpt_platform/frontend/src/tests/pages/login.page.ts +++ b/autogpt_platform/frontend/src/tests/pages/login.page.ts @@ -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" });