Skip to content

Skip the not-found footer checks against a deployed site - #514

Merged
stephaniehobson merged 1 commit into
mainfrom
skip-not-found-footer-on-deployed
Nov 18, 2026
Merged

stephaniehobson merged 1 commit into
mainfrom
skip-not-found-footer-on-deployed

Conversation

@stephaniehobson

Copy link
Copy Markdown
Collaborator

One-line summary

Stop the deploy smoke test failing on the short-page footer checks for not-found URLs, which a deployed site can't pass.

Significant changes and points to review

  • After Layout shifts as graphs load #509 merged, the stage smoke test failed 4 checks: the footer-at-the-bottom checks for /this-page-does-not-exist and /dashboard/not-a-dashboard, at both window sizes (run 44345826296). The deploy itself succeeded.
  • A deployed site answers unknown paths with Cloud Storage's XML 404, not the app (see "404s" in docs/architecture/deploy.md), so there's no footer to find there.
  • Those two paths are now skipped when PLAYWRIGHT_BASE_URL is set, which is how the smoke test targets the deployed site. Local and CI runs use the dev server and still check them. /contact is checked everywhere.
  • Merge this before publishing the 2.1.0 release, so the prod smoke test passes.

Issue / Bugzilla link

n/a

Testing

  • npx playwright test footer.spec --project=chromium: 7 passed.
  • With PLAYWRIGHT_BASE_URL set to stage, --project=live-data: 3 passed and the 4 not-found checks skipped.

On a deployed site, unknown paths get Cloud Storage's XML 404 rather
than the app, so there is no footer to measure, and the stage smoke
test failed on them after #509 merged. They still run against the dev
server, which serves the app's Not Found page.

@stephaniehobson stephaniehobson left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self R+ for test fix.

@stephaniehobson
stephaniehobson merged commit 793f5a3 into main Nov 18, 2026
7 checks passed
@stephaniehobson
stephaniehobson deleted the skip-not-found-footer-on-deployed branch November 18, 2026 17:28
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