Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(frontend/e2e): stop logging the password in the login page object (#15231)

Reinier van der Leer90788cd9d21e
diff --git a/autogpt_platform/frontend/src/playwright/pages/login.page.ts b/autogpt_platform/frontend/src/playwright/pages/login.page.ts
index 21d556233b..d878f84a86 100644
--- a/autogpt_platform/frontend/src/playwright/pages/login.page.ts
+++ b/autogpt_platform/frontend/src/playwright/pages/login.page.ts
@@ -19,10 +19,7 @@ export class LoginPage {
}
async login(email: string, password: string) {
- console.log(`ℹ️ Attempting login on ${this.page.url()} with`, {
- email,
- password,
- });
+ console.log(`ℹ️ Attempting login on ${this.page.url()} as ${email}`);
// Wait for the form to be ready
await this.page.waitForSelector("form", { state: "visible" });