Fix CI: align career-guidance tests with current page; add scheduled health check - #38
Merged
Merged
Conversation
The test suite still asserted the original generated marketing copy (testimonials, pricing tiers, success-rate stats) that was removed when the page was rewritten before merge. 18 of 19 tests failed on main, blocking every subsequent PR pipeline. Rewritten against the current page: section headings, service and engagement offerings, FAQ entries, link safety (target/rel), heading hierarchy, deep-link anchors, axe accessibility, and metadata. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The health check only ran after deployments, so an outage between deploys (e.g. GitHub Pages being disabled) went unnoticed for months. A weekly scheduled run fails loudly when the site is unreachable. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
🔍 Preview Build ReadyBuild Status: ✅ Success 📦 Preview artifact uploaded - check the Actions tab to download.
|
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
main, so every subsequent PR (all three open dependabot bumps) inherited a failing test leg. Tests are rewritten against the actual page: section headings, services, engagement options, FAQ, link safety (target/rel), heading hierarchy, anchors, axe accessibility, and metadata.Context
The live site (bidwell.info) is currently down because GitHub Pages is disabled: the repo is private and the current plan doesn't support private-repo Pages. That requires an account-level decision (make repo public / upgrade plan / move hosting) and is tracked separately — this PR restores CI health so development can resume.
Test plan
npm run test:quick— 189/189 passing (9/9 files)npm run type-check— cleannpm run lint— no errors (2 pre-existing warnings)npm run build— static export succeeds (25 routes)🤖 Generated with Claude Code