feat: refine portfolio content, contact, and supporting media
This commit is contained in:
@@ -466,7 +466,7 @@ test.describe("production visual composition", () => {
|
||||
});
|
||||
await page.locator('nav a[href="#contact"]').click();
|
||||
await expect(page.locator("#contact-heading")).toBeFocused();
|
||||
await expect(page.locator('#contact a[href^="mailto:"]')).toBeVisible();
|
||||
await expect(page.locator('#contact :is(a, summary):text-is("Email Me")')).toBeVisible();
|
||||
await expect(page.locator('#contact a[target="_blank"]')).toHaveCount(0);
|
||||
await captureViewport(page, testInfo, "visual-missing-social");
|
||||
});
|
||||
@@ -482,7 +482,7 @@ test.describe("production visual composition", () => {
|
||||
await expect(page.locator(".journey-hud__section")).toHaveText("Contact");
|
||||
await expect(page.locator(".journey-hud__arrival")).toHaveText("ARRIVED");
|
||||
await expect(page.locator("#contact")).toBeInViewport();
|
||||
await expect(page.locator('#contact a[href^="mailto:"]')).toBeVisible();
|
||||
await expect(page.locator('#contact :is(a, summary):text-is("Email Me")')).toBeVisible();
|
||||
await captureViewport(page, testInfo, "visual-contact-arrival");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user