Skip to content

test: consolidate site regression checks - #26768

Open
dvdksn wants to merge 1 commit into
docker:mainfrom
dvdksn:clean-up-tests
Open

dvdksn wants to merge 1 commit into
docker:mainfrom
dvdksn:clean-up-tests

Conversation

@dvdksn

@dvdksn dvdksn commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Summary

The redesign left separate test scripts mixing useful regressions with migration checks and assertions about incidental styling. Consolidate the retained coverage into Node tests and one Playwright Test suite, reducing the affected test code from 16 files and 2,604 lines to five files and 574 lines.

Remove source rewriting and the fake DOM, move test execution out of the site build into an explicit Bake/CI target, and consolidate setup instructions. Add an agent rule requiring agreement before introducing another runner, dependency, or test category.

Verified 11 Node tests, 26 browser tests, the pinned Hugo build, API output checks, and Dockerfile validation. Full container validation remains for CI because of the documented worktree limitation. Prose lint has no alerts on added lines; existing alerts remain.

Generated by Codex

@dvdksn dvdksn added the status/review Pull requests that are ready for review label Nov 25, 2026
@dvdksn
dvdksn requested a review from a team November 25, 2026 08:07
@github-actions github-actions Bot added area/contrib Relates to the Docker style guide and contribution guidelines area/release Relates to CI or deployment hugo Updates related to hugo dependencies Vendoring, packaging updates area/config area/tests ci ci updates labels Nov 25, 2026
@netlify

netlify Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for docsdocker ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 7c56c0a
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6b0810d496a5c7d67dc5d6f4
😎 Deploy Preview https://deploy-preview-26768--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Replace the redesign scripts and separate API browser checker with a focused Playwright Test suite. Retain useful Node regressions, remove migration and incidental styling checks, and replace source rewriting and DOM stubs with ordinary imports and browser execution.

Run the retained suites through npm test and the existing Bake validation matrix. Consolidate setup instructions and document boundaries for future test additions.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/config area/contrib Relates to the Docker style guide and contribution guidelines area/release Relates to CI or deployment area/tests ci ci updates dependencies Vendoring, packaging updates hugo Updates related to hugo status/review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant