mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-01-20 04:28:09 -05:00
chore: fix tests
This commit is contained in:
@@ -172,7 +172,7 @@ test("multi-tab logout with WebSocket cleanup", async ({ context }) => {
|
||||
await page2.close();
|
||||
});
|
||||
|
||||
test("logged in user is redirected from /login to /marketplace", async ({
|
||||
test("logged in user is redirected from /login to /library", async ({
|
||||
page,
|
||||
}) => {
|
||||
const testUser = await getTestUser();
|
||||
@@ -182,10 +182,10 @@ test("logged in user is redirected from /login to /marketplace", async ({
|
||||
await hasUrl(page, "/marketplace");
|
||||
|
||||
await page.goto("/login");
|
||||
await hasUrl(page, "/marketplace");
|
||||
await hasUrl(page, "/library?sort=updatedAt");
|
||||
});
|
||||
|
||||
test("logged in user is redirected from /signup to /marketplace", async ({
|
||||
test("logged in user is redirected from /signup to /library", async ({
|
||||
page,
|
||||
}) => {
|
||||
const testUser = await getTestUser();
|
||||
@@ -195,5 +195,5 @@ test("logged in user is redirected from /signup to /marketplace", async ({
|
||||
await hasUrl(page, "/marketplace");
|
||||
|
||||
await page.goto("/signup");
|
||||
await hasUrl(page, "/marketplace");
|
||||
await hasUrl(page, "/library?sort=updatedAt");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user