Upgrade Hugo to 0.163.3 and add Playwright E2E tests#730
Closed
rossigee wants to merge 7 commits into
Closed
Conversation
7c5a97b to
832c9cb
Compare
Breaking changes fixed: - markdownify on template.HTML: Add string cast in admonition.html - disableKinds: Rename taxonomyTerm to term in config.toml - mediaTypes: Replace delimiter with suffixes array - toCSS: Replace with css.Sass function - Removed unused version.html shortcode New features: - Add Playwright E2E test suite to validate breaking changes are fixed - Tests cover admonition rendering, custom output formats, CSS pipeline - Update Dockerfile and netlify.toml to pin Hugo 0.163.3 - Simplify CSS pipeline and remove unreliable .Site.IsServer usage Signed-off-by: Ross Golder <ross@golder.org>
- autoprefixer: 9.8.5 → 10.5.2 - bulma: 0.8.2 → 1.0.4 - postcss-cli: 7.1.2 → 11.0.1 Verified CSS pipeline still works correctly with new versions. Fixed npm audit vulnerabilities (picomatch ReDoS). Signed-off-by: Ross Golder <ross@golder.org>
- Use docs page with admonitions instead of blog post - Remove toBeVisible() checks on metadata elements (always hidden) - Separate CSS pipeline live test from fingerprinting validation - All 5 tests now pass successfully Signed-off-by: Ross Golder <ross@golder.org>
- Document Playwright E2E tests in README - Add 'make test' and 'make test-ui' targets - Tests validate Hugo breaking changes are fixed Signed-off-by: Ross Golder <ross@golder.org>
Signed-off-by: Ross Golder <ross@golder.org>
The content/cli-docs/ directory is generated at build time by cli-docs.sh, similar to content/docs/. It should not be tracked in git. This reverts the accidental tracking added in PR goharbor#645 by untracking the 109 generated files and adding content/cli-docs/ to .gitignore. Signed-off-by: Ross Golder <ross@golder.org>
832c9cb to
121cf05
Compare
Runs on all PRs and pushes to main: - Build validation with Hugo 0.163.3 - Playwright E2E tests with Chromium - YAML and whitespace linting Artifacts: - build-output: public/ directory (5-day retention) - playwright-report: test results (7-day retention) Signed-off-by: Ross Golder <ross@golder.org>
a23ee47 to
f530836
Compare
Author
|
Reopening with fresh base against current main |
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
Test plan
✅ All 5 Playwright E2E tests passing
✅ Production build succeeds
✅ _redirects file generated correctly
✅ CSS pipeline works with updated packages
✅ No npm audit vulnerabilities
Files changed