From 56788a02261c4af8305948740f4d1d58a4b06ce8 Mon Sep 17 00:00:00 2001 From: Medyan Date: Sun, 1 Feb 2026 15:26:35 -0500 Subject: [PATCH] fix E2E Test Failure --- autogpt_platform/frontend/src/tests/signup.spec.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autogpt_platform/frontend/src/tests/signup.spec.ts b/autogpt_platform/frontend/src/tests/signup.spec.ts index 8606eebaa7..60929c4076 100644 --- a/autogpt_platform/frontend/src/tests/signup.spec.ts +++ b/autogpt_platform/frontend/src/tests/signup.spec.ts @@ -22,8 +22,8 @@ test("user can signup successfully", async ({ page }) => { "Bringing you AI agents designed by thinkers from around the world", ).first(); - // Verify we're on marketplace and authenticated - await hasUrl(page, "/marketplace"); + // Verify we're on homepage and authenticated (library when chat disabled) + await hasUrl(page, "/library"); await isVisible(marketplaceText); await isVisible(getId("profile-popout-menu-trigger")); } catch (error) { @@ -68,8 +68,8 @@ test("user can signup with custom credentials", async ({ page }) => { expect(testUser.email).toBe(customEmail); expect(testUser.password).toBe(customPassword); - // Verify successful signup - await hasUrl(page, "/marketplace"); + // Verify successful signup (redirects to library when chat disabled) + await hasUrl(page, "/library"); await isVisible(getId("profile-popout-menu-trigger")); } catch (error) { console.error("❌ Custom credentials signup test failed:", error);