diff --git a/frontend/tests/cox.spec.ts b/frontend/tests/cox.spec.ts index d238e96..23e0508 100644 --- a/frontend/tests/cox.spec.ts +++ b/frontend/tests/cox.spec.ts @@ -129,7 +129,7 @@ test.describe("cox can edit trips", () => { await sharedPage.getByPlaceholder("Passwort").fill("rower"); await sharedPage.getByPlaceholder("Passwort").press("Enter"); - await sharedPage.goto("/planned"); + await sharedPage.goto("/"); await sharedPage.getByRole('link', { name: 'Mitrudern' }).nth(1).click(); @@ -142,7 +142,7 @@ test.describe("cox can edit trips", () => { await sharedPage.getByPlaceholder("Passwort").fill("cox"); await sharedPage.getByPlaceholder("Passwort").press("Enter"); - await sharedPage.goto("/planned"); + await sharedPage.goto("/"); // ... now I can cancel trip @@ -171,7 +171,7 @@ test.describe("cox can edit trips", () => { await sharedPage.getByPlaceholder("Passwort").fill("rower"); await sharedPage.getByPlaceholder("Passwort").press("Enter"); - await sharedPage.goto("/planned"); + await sharedPage.goto("/"); await sharedPage.getByRole('link', { name: 'Abmelden' }).click();