mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-01 18:35:00 -05:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user