Skip to content

SEO: h1 on the lesson tools pages, spec follows #504 - #507

Merged
Charlie-Carson merged 2 commits into
mainfrom
maint-seo-2026-11-07
Nov 8, 2026
Merged

Charlie-Carson merged 2 commits into
mainfrom
maint-seo-2026-11-07

Conversation

@Charlie-Carson

Copy link
Copy Markdown
Contributor

Summary

Evidence

  • Both tools pages are in the production sitemap and had no h1 in the server HTML.
  • On main, seo.spec.ts › "a lesson describes itself as a learning resource…" fails: it looked for a top-level LearningResource and the old title format.

Proof

Slot 5 (BASE_URL=http://localhost:8501, with a temporary config that drops the global login setup, which these request-only tests do not need):

  • With main's src/app/tools, npx playwright test seo.spec.ts -g tools gives 2 failed (h1 count 0, expected 1).
  • With the change, npx playwright test seo.spec.ts gives 21 passed. Before the spec update, the lesson test failed with LearningResource undefined.
  • tsc --noEmit exits 0, and eslint is clean on the changed files.

@vercel

vercel Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
lessons-app Ready Ready Preview Nov 8, 2026 6:49am UTC

Request Review

@Charlie-Carson
Charlie-Carson merged commit 51f6a81 into main Nov 8, 2026
4 checks passed
@Charlie-Carson
Charlie-Carson deleted the maint-seo-2026-11-07 branch November 8, 2026 07:02

This branch was successfully deployed

1 active deployment
Preview — 8e07678f Deployed Nov 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant