test: isolate pull quote linework snapshot

This commit is contained in:
Keith Solomon
2026-06-27 20:05:52 -05:00
parent aaa9d28a79
commit 4969e4c9ce
3 changed files with 64 additions and 61 deletions
+3
View File
@@ -226,6 +226,9 @@ test("mobile pull quote matches the supplied visual reference", async ({
test("mobile pull quote linework render remains stable", async ({ page }) => {
await page.goto(homepage);
await page.locator(".pull-quote__content").evaluate((content) => {
content.style.visibility = "hidden";
});
await expect(page.locator(".pull-quote__vector--mobile")).toHaveScreenshot(
"pullquote-linework-render.png",
Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 29 KiB