Fix visual snapshot tests

This commit is contained in:
Daniel Norman
2026-10-19 18:33:14 +02:00
parent 02dfecf66d
commit a2b11f9d68
+1 -1
View File
@@ -113,7 +113,7 @@ test("footnotes", async ({ page }) => {
});
await expect(page).toHaveScreenshot({ fullPage: true });
await page.getByText("Code").click();
await page.getByRole("button", { name: "Code", exact: true }).click();
await expect(page).toHaveScreenshot({ fullPage: true });
});