From b7968a560d38780aa91e335cce91995d9dd719c6 Mon Sep 17 00:00:00 2001 From: Nick Tindle Date: Sun, 1 Feb 2026 16:07:01 -0600 Subject: [PATCH] fix(tests): revert unnecessary signup test changes The signup flow still ends at /marketplace via the test helper. Only the signin tests needed updating since the sort param useEffect was removed. --- 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 60929c4076..8606eebaa7 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 homepage and authenticated (library when chat disabled) - await hasUrl(page, "/library"); + // Verify we're on marketplace and authenticated + await hasUrl(page, "/marketplace"); 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 (redirects to library when chat disabled) - await hasUrl(page, "/library"); + // Verify successful signup + await hasUrl(page, "/marketplace"); await isVisible(getId("profile-popout-menu-trigger")); } catch (error) { console.error("❌ Custom credentials signup test failed:", error);