diff --git a/apps/nuxt3-ssr/tests/header-items.spec.ts b/apps/nuxt3-ssr/tests/header-items.spec.ts index b758958156..a342bcac8b 100644 --- a/apps/nuxt3-ssr/tests/header-items.spec.ts +++ b/apps/nuxt3-ssr/tests/header-items.spec.ts @@ -16,5 +16,12 @@ test("should show variables in menu if there are variables", async ({ goto, }) => { await goto("/catalogue-demo/ssr-catalogue/all", { waitUntil: "hydration" }); - await expect(page.getByRole("navigation")).toContainText("Variables"); + await expect(page.getByRole("navigation")).toContainText("Resources"); + await expect(page.getByRole("navigation")).toContainText("Cohort studies"); + await expect(page.getByRole("navigation")).toContainText("Cohort studies"); + await expect(page.getByRole("navigation")).toContainText("Data sources"); + await expect(page.getByRole("navigation")).toContainText("Databanks"); + await expect(page.getByRole("navigation")).toContainText("More"); + await page.getByRole("button", { name: "More" }).hover(); + await page.locator("li").filter({ hasText: "Variables" }); });