insights: coming-soon page; block AI training crawlers; fix stale e2e
CI / ci (push) Successful in 1m34s

- /insights/ is a reader-facing Coming soon page; developer cards removed
- robots.txt: Disallow GPTBot, ClaudeBot, Google-Extended, CCBot,
  Applebot-Extended, meta-externalagent, Bytespider. Search and AI
  answer crawlers stay allowed. Corrects the old Google-Extended
  comment: it does not affect Search or AI Overviews.
- e2e: assert the real headings and the header Services link (48/48)
This commit is contained in:
bmr_bluecap committed 2026-10-23 14:40:51 -04:00
1 parent e07cb8545e
commit 04e0c4d9cd
4 files changed
+43 -61

No files matched your search

+4 -4
View File
@@ -64,14 +64,14 @@ test("desktop navigation and CTA links are clickable", async ({ page }) => {
await page.setViewportSize({ width: 1440, height: 900 });
await page.goto("/");
await page.getByRole("link", { name: "Explore services" }).click();
await page.getByRole("banner").getByRole("link", { name: "Services", exact: true }).first().click();
await expect(page).toHaveURL(/\/services\/$/);
await expect(page.getByRole("heading", { name: /Advisory services/ })).toBeVisible();
await expect(page.getByRole("heading", { level: 1, name: "Services" })).toBeVisible();
await page.goto("/");
await page.getByRole("link", { name: "Request a consultation" }).first().click();
await expect(page).toHaveURL(/\/contact\/$/);
await expect(page.getByRole("heading", { name: /Get in touch/ })).toBeVisible();
await expect(page.getByRole("heading", { level: 1, name: "Contact Us" })).toBeVisible();
});
test("service and focus-area learn more links are wired to detail pages", async ({ page }) => {
@@ -98,7 +98,7 @@ test("mobile menu opens and navigates", async ({ page }) => {
await expect(page.locator(".mobile-nav nav")).toBeVisible();
await page.locator(".mobile-nav").getByRole("link", { name: "Focus Areas" }).click();
await expect(page).toHaveURL(/\/focus-areas\/$/);
await expect(page.getByRole("heading", { name: /Focused expertise/ })).toBeVisible();
await expect(page.getByRole("heading", { level: 1, name: "Core Focus Areas" })).toBeVisible();
});
test("contact form validates required, invalid, and valid paths", async ({ page }) => {