fix: refine mobile contact photo crop
This commit is contained in:
@@ -372,7 +372,7 @@ test("mobile contact card matches the 402px reference geometry", async ({
|
||||
expect(linework.x).toBeLessThanOrEqual(card.x);
|
||||
await expect(lineworkLocator).toHaveCSS("overflow", "visible");
|
||||
await expect(backgroundImage).toHaveCSS("object-fit", "cover");
|
||||
await expect(backgroundImage).toHaveCSS("object-position", "60% 50%");
|
||||
await expect(backgroundImage).toHaveCSS("object-position", "82% 50%");
|
||||
await expect(backgroundImage).toHaveCSS("filter", "brightness(1.5)");
|
||||
const overlay = await cardLocator
|
||||
.locator(".contact-block__media")
|
||||
|
||||
Reference in New Issue
Block a user