fix: close final portfolio quality gaps
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { Page } from "@playwright/test";
|
||||
import { expect, test } from "../helpers/serve-dist";
|
||||
import { clickNavigationLink, expect, test } from "../helpers/serve-dist";
|
||||
|
||||
const textSpacingOverride = `
|
||||
* {
|
||||
@@ -62,7 +62,7 @@ async function assertReflowGeometry(page: Page): Promise<void> {
|
||||
expect(result.horizontalFailures).toEqual([]);
|
||||
expect(result.clippedText).toEqual([]);
|
||||
|
||||
await page.locator('nav a[href="#contact"]').click();
|
||||
await clickNavigationLink(page, "#contact");
|
||||
await expect(page.locator("#contact-heading")).toBeFocused();
|
||||
await expect(page.locator('#contact a[href^="mailto:"]')).toBeVisible();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user