Skip to content

test(windows): add redirect tests to API integration test suite - #545

Closed
claude[bot] wants to merge 1 commit into
mainfrom
claude/fix-525
Closed

claude[bot] wants to merge 1 commit into
mainfrom
claude/fix-525

Conversation

@claude

@claude claude Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds integrationTests/apiTests/tests/25_redirectTests.mjs — a new redirect test file in the apiTests (old-style) suite
  • Deploys the template-redirector-3.0.1.tgz fixture via deploy_component, polls for the /Rule/ endpoint to confirm readiness, seeds redirect rules via CSV, then tests lookups and 404 behavior
  • Wires the new file into testSuite.mjs so it runs on Windows via the run-integration-apiTests-windows CI job
  • Local fixture path (deploy_component with package) works cross-platform without any Windows-specific handling

Test plan

  • npm run format:check passes (no issues in changed files)
  • npm run lint shows no new issues in the changed files
  • run-integration-apiTests-windows CI job picks up the new tests and they pass on Windows
  • run-integration-apiTests (Linux) CI job also passes with the new tests

Closes #525

Adds 25_redirectTests.mjs to the apiTests testSuite, covering redirector
component deployment, CSV rule seeding, redirect lookups, 404 for unknown
paths, and Rule table listing. The local-fixture deployment path works
cross-platform without Windows-specific handling. Wires the new file into
testSuite.mjs so it runs on Windows via run-integration-apiTests-windows.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@claude
claude Bot requested a review from a team as a code owner May 15, 2026 13:00
@claude claude Bot mentioned this pull request May 15, 2026
@claude

claude Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor Author

Reviewed; no blockers found.

@heskew

heskew commented May 15, 2026

Copy link
Copy Markdown
Contributor

Closing — the scope of #525 was actually about un-skipping existing Windows-skipped tests (continuing the pattern from #528), not adding new minimal redirect tests in the apiTests/ suite. The redirect coverage in integrationTests/components/redirector.test.ts already covers the substantive cases, and that suite is already running on Windows via run-integration-tests-windows on main.

Filing a new issue with sharper scope to avoid stomping on the framing of #525.

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.

Windows Integration Testing

1 participant