diff --git a/frontend/tests/cox.spec.ts b/frontend/tests/cox.spec.ts index 8d545c0..5272a58 100644 --- a/frontend/tests/cox.spec.ts +++ b/frontend/tests/cox.spec.ts @@ -52,7 +52,7 @@ test.describe("cox can edit trips", () => { test("edit remarks", async () => { await sharedPage.goto("/planned"); - await page.getByRole('link', { name: 'Details' }).nth(1).click(); + await sharedPage.getByRole('link', { name: 'Details' }).nth(1).click(); await sharedPage.locator("#sidebar #notes").click(); await sharedPage.locator("#sidebar #notes").fill("Meine Anmerkung"); await sharedPage.getByRole("button", { name: "Speichern" }).click();