chore: fix tests

This commit is contained in:
Lluis Agusti
2026-01-20 00:22:09 +07:00
parent 484321376c
commit 36568d358e

View File

@@ -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");
});