Skip to content

Cover viewer and exporter regressions - #73

Merged
mahach666 merged 1 commit into
mainfrom
codex/viewer-test-coverage
Nov 18, 2026
Merged

mahach666 merged 1 commit into
mainfrom
codex/viewer-test-coverage

Conversation

@mahach666

Copy link
Copy Markdown
Contributor

Closes #23.

  • Verify composed GLB rotation, nonuniform scale and translation. Report invalid explicit default scene references as load errors and preserve the previous export.
  • Verify RGBA8 picking with multi-byte slot IDs, exact state texture ranges, simultaneous chunk and cell rendering, checker UVs on both draw paths and detail recovery after mouse orbit.
  • Cover focused-input Escape, wheel tour cancellation, 4D speeds and tints, legacy link membership and the English empty state.
  • Cover CLI argument and missing input errors, and align the large export test name with what it verifies.

Verification

  • All 196 .NET tests passed on .NET 8 and .NET 10 with a real Revit sample configured. 165 JavaScript unit tests passed and the rebuilt viewer bundle matches the tracked bundle.
  • Exported DamagedHelmet.glb, Schependomlaan.ifc and racbasicsampleproject.rvt and checked offline rendering, picking, selection and colour restoration in Chromium and Firefox. Forced RGBA8 picking selected slot 550 on the IFC.
  • Changed the explicit scene index in a copy of DamagedHelmet.glb. The CLI returned 3 and the SHA-256 of the previous HTML stayed identical.

@mahach666
mahach666 merged commit 790a881 into main Nov 18, 2026
5 checks passed
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.

Test coverage gaps from the viewer rewrite

1 participant