From d57420100b6e5e1b26f7909e98d18079f1bbe1c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sindre=20S=C3=A6grov?= Date: Wed, 20 Sep 2023 13:36:06 +0200 Subject: [PATCH] Fix test after updating Aksel to v5 --- app/routes/saksbehandling._index.tsx | 2 +- tests/playwright/oppgaveliste.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routes/saksbehandling._index.tsx b/app/routes/saksbehandling._index.tsx index 1cdd79b2..0810b0f8 100644 --- a/app/routes/saksbehandling._index.tsx +++ b/app/routes/saksbehandling._index.tsx @@ -25,7 +25,7 @@ export default function Saksbehandling() { return (
- +
Oppgave ID diff --git a/tests/playwright/oppgaveliste.spec.ts b/tests/playwright/oppgaveliste.spec.ts index e4092230..83c7fd27 100644 --- a/tests/playwright/oppgaveliste.spec.ts +++ b/tests/playwright/oppgaveliste.spec.ts @@ -18,7 +18,7 @@ test("Man kan gå videre til en oppgave ", async ({ page, baseURL }) => { await page .getByRole("row") .filter({ has: page.getByText(oppgave.uuid, { exact: false }) }) - .getByRole("link", { name: "Behandle" }) + .getByRole("button", { name: "Behandle" }) .click(); await expect(page).toHaveURL(`