Repository navigation
test: fix roadmap assertions for both deployment paths - #148
Merged
Alexandre-T merged 1 commit intoOct 28, 2026
Merged
Alexandre-T merged 1 commit into
Alexandre-T merged 1 commit into
Conversation
8 tasks
Alexandre-T
deleted the
147-fix-roadmap-publication-assertions-for-both-deployment-base-paths
branch
October 28, 2026 14:53
This branch was successfully deployed
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.
Pull Request
Summary
Development publication stopped during
npm testbecause roadmap tests expected root-based HTML destinations while the configured development site correctly uses/spatial-docs/. Check exact HTML destinations for the active deployment configuration so both publication environments pass the test gate.Related issue
Closes #147
Changes
The two roadmap link assertions use explicit expected directories for production and development, independently of the URL generator under test. Relative Markdown links, every published documentation version, and plain text for unpublished versions remain covered.
Standards and references
Source and generated content
Validation
Additional validation:
Run separately with
DOCUSAURUS_DEPLOYMENT=productionandDOCUSAURUS_DEPLOYMENT=development:node --test tests/roadmap-publication.test.mjs: 22 passed in each configuration.npm test: 446 passed, 1 optional Apache integration test skipped, 0 failed in each configuration. The development suite also used the workflow's production/preproduction URLs.node scripts/with-test-legal.mjs npm run build: local builds with fictional legal information; documentation corpus validation passed with 0 errors and 0 warnings in each configuration.git diff --check: passed.sh .githooks/pre-commit: Markdown lint passed.The development failure was reproduced before the change. A successful remote development publication run must still be linked after integration; local validation does not establish deployment success.
Documentation impact
None. Only test expectations change. Existing explicit HTML paths and relative Markdown links are preserved; no documentation source or generated file is manually edited.
Checklist