helm-www icon indicating copy to clipboard operation
helm-www copied to clipboard

Add automated tests for Go module redirect HTML files

Open Copilot opened this issue 2 months ago • 3 comments

Plan to create tests for redirect HTML files in the helm-www repository:

  • [x] Create test suite for redirect HTML files (static/helm/index.html, static/helm/v2/index.html, static/helm/v3/index.html, static/helm/v4/index.html)
  • [x] Add test framework dependencies (Jest)
  • [x] Write tests to validate:
    • HTML structure and metadata tags (go-import, go-source)
    • Meta refresh redirects to GitHub
    • Correct repository URLs and branches for each version
  • [x] Add test script to package.json
  • [x] Create GitHub Actions workflow for running tests on pull requests (Node 20 from netlify.toml)
  • [x] Integrate tests into the Makefile build target
  • [x] Verify all tests pass
  • [x] Address code review feedback
  • [x] Resolve yarn.lock conflicts with main branch
Original prompt

This section details on the original issue you should resolve

<issue_title>Create tests for redirects</issue_title> <issue_description>Create tests for redirects

static/helm/index.html
static/helm/v2/index.html
static/helm/v4/index.html
static/helm/v3/index.html
  • Create a github/workflow for it that runs on pull requests. It should run on node version specified in netlify.toml
  • Run tests when the make build target is run

</issue_description>

Comments on the Issue (you are @copilot in this section)

  • Fixes helm/helm-www#1869

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot avatar Nov 03 '25 15:11 Copilot

@copilot resolve the yarn.lock conflicts

TerryHowe avatar Nov 11 '25 10:11 TerryHowe

@copilot resolve the yarn.lock conflicts

Resolved yarn.lock conflicts by merging main branch and regenerating the lockfile. All tests pass. Commit: 8c4467e

Copilot avatar Nov 11 '25 10:11 Copilot

https://gh.io/copilot-coding-agent-docs resolve the conflicts

TerryHowe avatar Dec 13 '25 13:12 TerryHowe