test: isolate pull quote linework snapshot
This commit is contained in:
@@ -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 |
Reference in New Issue
Block a user