Fix visual test on preview toggle

This commit is contained in:
Sebastian Martinez
2024-02-28 14:06:42 +00:00
committed by Rūdolfs Ošiņš
parent 0906593854
commit dcced2e06d
+1 -1
View File
@@ -111,7 +111,7 @@ test("footnotes", async ({ page }) => {
await expect(page.getByText("1. https://radicle.xyz ↩")).toBeVisible();
await expect(page).toHaveScreenshot({ fullPage: true });
await page.getByText("Plain").click();
await page.getByText("Code").click();
await expect(
page.locator(
"text=This is an example footnote[^0]. And some radicle[^1] examples.",