ohif-viewer/tests
Bill Wallace 256b8347e7
fix(docs): remove stray tool-call tags breaking the MDX build (#6081)
This is a fix to pnpm deployment which needs testing as the final part of origin/master release
No functional changes

* fix(docs): remove stray tool-call tags breaking the MDX build

platform/docs/docs/migration-guide/3p12-to-3p13/build-tooling.md ended with
two orphan closing tags (leftover tool-call serialization artifacts):

  </content>
  </invoke>

Docusaurus compiles Markdown as MDX (JSX-aware), so the orphan closing tag
failed the docs build:

  MDX compilation failed ... Unexpected closing slash in tag, expected an
  open tag first (build-tooling.md line 402)

This was the remaining blocker for build-and-deploy-docs once the
--no-frozen-lockfile change let the install step succeed. A scan of the docs
tree found no other such artifacts. Verified locally: docusaurus build now
generates static files with no MDX errors.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* Update lockfile and avoid freshness check on every command

* fix(release): keep workspace:* in the repo, concretize only at publish

The release flow rewrote internal @ohif/* dependency specifiers to the concrete
version and committed them, so pnpm-lock.yaml (which records workspace links)
drifted from the manifests on every version bump. The resulting
ERR_PNPM_OUTDATED_LOCKFILE broke every frozen install: Netlify (viewer-dev),
the docs deploy, pnpm's pre-run deps check, and post-merge installs.

Keep workspace:* everywhere in the committed repo and move the concrete-version
substitution to publish time only:

- publish-version.mjs: bump each package's own `version` field only; stop
  rewriting @ohif/* dependency/peerDependency specifiers.
- publish-package.mjs: publish with `pnpm publish --no-git-checks` instead of
  `npm publish`. pnpm rewrites workspace:* to the exact version in the published
  tarball; npm would publish the literal "workspace:*", which npm/yarn consumers
  cannot resolve.
- One-time: revert the 25 workspace manifests' @ohif/* specifiers to workspace:*
  (version fields untouched) and regenerate pnpm-lock.yaml to match.

Because internal deps are workspace:* (links, not versions in the lockfile),
version bumps no longer change pnpm-lock.yaml, so it stays in sync and frozen
installs keep working.

Verified: `pnpm install --frozen-lockfile` passes, and `pnpm pack` of @ohif/core
emits a tarball whose @ohif/ui dependency is the exact version (3.13.0-beta.92),
not workspace:*.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* docs(ci): correct build-docs install comment for workspace:* release flow

publish-version.mjs no longer rewrites @ohif/* deps to concrete versions, so
the old comment was stale. Internal deps stay workspace:* and the lockfile
stays consistent; pnpm publish concretizes only the published tarball.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* ci(docs): use --frozen-lockfile now that the lockfile no longer drifts

With internal deps as workspace:* the lockfile stays in sync across version
bumps, so the docs deploy can install frozen -- failing fast on genuine
lockfile drift instead of silently reconciling. The --no-frozen-lockfile
workaround is no longer needed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* ci: use --frozen-lockfile in CI install steps now that the lockfile is stable

Internal @ohif/* deps are workspace:* so pnpm-lock.yaml no longer drifts; the
UNIT_TESTS/BUILD/NPM_PUBLISH installs can run frozen and fail fast on genuine
drift. Kept --no-frozen-lockfile only where it is still required: the Dockerfile
(platform/docs is excluded from the build context) and the playwright CS3D-version
step (mutates @cornerstonejs versions before installing).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* test: stability of seg load mpr test

* Better drag fix for crosshairs

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 11:59:04 -04:00
..
pages fix(docs): remove stray tool-call tags breaking the MDX build (#6081) 2026-06-16 11:59:04 -04:00
screenshots/chromium fix: ohif tests to run with cornerstone 3d 5.0 (#6043) 2026-06-09 20:25:14 -04:00
utils fix: ohif tests to run with cornerstone 3d 5.0 (#6043) 2026-06-09 20:25:14 -04:00
3DFourUp.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
3DMain.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
3DOnly.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
3DPrimary.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
Angle.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
ArrowAnnotate.spec.ts test(e2e): replace waitForVolumeLoad with viewport render waits (#6000) 2026-05-07 15:42:12 -04:00
AxialPrimary.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
Bidirectional.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
Circle.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
CobbAngle.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
ContextMenu.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
ContourSegLocking.spec.ts feat(slice scrollbar): Integrate ViewportSliceProgressScrollbar with customizations and docs (#5960) 2026-04-23 08:46:03 -04:00
ContourSegmentDuplicate.spec.ts fix(segmentation): restore navigation for duplicated contour segments (#6038) 2026-05-26 12:22:46 -04:00
ContourSegmentRename.spec.ts chore(tests): contour segment interactions e2e tests - rename and togglevisibility (#5891) 2026-03-27 09:54:36 -04:00
ContourSegmentToggleVisibility.spec.ts feat(tests): Add tests for duplicating contour segments (#6002) 2026-05-20 21:18:58 -04:00
ContourSegNavigation.spec.ts fix: ohif tests to run with cornerstone 3d 5.0 (#6043) 2026-06-09 20:25:14 -04:00
Crosshairs.spec.ts fix: ohif tests to run with cornerstone 3d 5.0 (#6043) 2026-06-09 20:25:14 -04:00
DataOverlayMenu.spec.ts refactor(tests): update viewport page object usage to async and update all effected tests (#5927) 2026-03-27 16:37:42 -04:00
DataOverlayMenuFrameOfReference.spec.ts fix(segmentation): restrict overlay segmentation menu to same frame of reference as viewport background display set (#5900) 2026-04-02 08:52:23 -04:00
DicomTagBrowser.spec.ts test(e2e): replace waitForVolumeLoad with viewport render waits (#6000) 2026-05-07 15:42:12 -04:00
Ellipse.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
FlipHorizontal.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
FreehandROI.spec.ts feat: Update to use pnpm (#6031) 2026-06-12 16:04:56 -04:00
globalSetup.ts feat: Update to use pnpm (#6031) 2026-06-12 16:04:56 -04:00
Invert.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
JumpToMeasurementMPR.spec.ts fix: ohif tests to run with cornerstone 3d 5.0 (#6043) 2026-06-09 20:25:14 -04:00
LabelMapSegLocking.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
Length.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
Livewire.spec.ts fix: ohif tests to run with cornerstone 3d 5.0 (#6043) 2026-06-09 20:25:14 -04:00
MeasurementPanel.spec.ts fix: ohif tests to run with cornerstone 3d 5.0 (#6043) 2026-06-09 20:25:14 -04:00
MicroscopyPanel.spec.ts refactor(tests): update viewport page object usage to async and update all effected tests (#5927) 2026-03-27 16:37:42 -04:00
mpr2.spec.ts test(e2e): replace waitForVolumeLoad with viewport render waits (#6000) 2026-05-07 15:42:12 -04:00
MPR.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
MPRThenRTOverlayNoHydration.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
MPRThenSEGOverlayNoHydration.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
MultipleSegmentationDataOverlays.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
Probe.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
Rectangle.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
Reset.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
RotateRight.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
RTContourViewportLayoutChange.spec.ts test(contour): add test for RT contour position after viewport maximize/restore (#6036) 2026-05-22 13:49:00 -04:00
RTDataOverlayForUnreferencedDisplaySetNoHydration.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
RTDataOverlayNoHydrationThenMPR.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
RTHydration2.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
RTHydration.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
RTHydrationDisableConfirmation.spec.ts refactor(tests): update viewport page object usage to async and update all effected tests (#5927) 2026-03-27 16:37:42 -04:00
RTHydrationFromMPR.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
RTHydrationThenMPR.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
RTNoHydrationThenMPR.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
Scoord3dProbe.spec.ts fix: ohif tests to run with cornerstone 3d 5.0 (#6043) 2026-06-09 20:25:14 -04:00
ScoordRectangle.spec.ts fix: ohif tests to run with cornerstone 3d 5.0 (#6043) 2026-06-09 20:25:14 -04:00
SEGDataOverlayForUnreferencedDisplaySetNoHydration.spec.ts fix(seg): prevent segmentations from spreading to all viewports before hydration confirmation in 3D four-up (#5967) 2026-04-27 12:55:12 -04:00
SEGDataOverlayNoHydrationThenMPR.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
SEGDrawingToolsResizing.spec.ts refactor(tests): update viewport page object usage to async and update all effected tests (#5927) 2026-03-27 16:37:42 -04:00
SEGHydration.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
SEGHydrationDeleteAndReload.spec.ts test(segmentation): add e2e test for deleting segmentation on second reload (#6013) 2026-05-19 09:24:49 -04:00
SEGHydrationFrom3DFourUp.spec.ts fix: ohif tests to run with cornerstone 3d 5.0 (#6043) 2026-06-09 20:25:14 -04:00
SEGHydrationFromMPR.spec.ts fix(docs): remove stray tool-call tags breaking the MDX build (#6081) 2026-06-16 11:59:04 -04:00
SEGHydrationThen3DOnly.spec.ts fix(segmentation): List surface representations in the segmentation table for 3D views. (#5700) 2026-01-13 15:57:44 -05:00
SEGHydrationThenMPR.spec.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
SegmentationPanel.spec.ts feat: Update to use pnpm (#6031) 2026-06-12 16:04:56 -04:00
SegmentationPanelSelect.spec.ts fix(segmentation): Display "No description S:{series number} {modality}" for segmentations with no label. (#5874) 2026-03-12 18:39:14 -04:00
SegmentationSeriesNavigation.spec.ts fix: prevent black viewport when navigating series with client-created segmentation (#5919) 2026-03-28 19:20:49 -04:00
SEGNoHydrationThenMPR.spec.ts fix: ohif tests to run with cornerstone 3d 5.0 (#6043) 2026-06-09 20:25:14 -04:00
Spline.spec.ts fix: ohif tests to run with cornerstone 3d 5.0 (#6043) 2026-06-09 20:25:14 -04:00
SRHydration.spec.ts fix: ohif tests to run with cornerstone 3d 5.0 (#6043) 2026-06-09 20:25:14 -04:00
SRHydrationArrowNavigation.spec.ts refactor(tests): update viewport page object usage to async and update all effected tests (#5927) 2026-03-27 16:37:42 -04:00
SRHydrationThenReload.spec.ts fix(colors): Replaces legacy colors with ui-next colors (#5351) 2026-02-12 08:48:05 -05:00
StudyValidation.spec.ts fix(app): display study not found message for all modes (#5752) 2026-02-09 21:51:44 -05:00
TMTVAlignment.spec.ts refactor(tests): update viewport page object usage to async and update all effected tests (#5927) 2026-03-27 16:37:42 -04:00
TMTVCSVReport.spec.ts refactor(tests): update viewport page object usage to async and update all effected tests (#5927) 2026-03-27 16:37:42 -04:00
TMTVModalityUnit.spec.ts refactor(tests): update viewport page object usage to async and update all effected tests (#5927) 2026-03-27 16:37:42 -04:00
TMTVRecalculate.spec.ts refactor(tests): update viewport page object usage to async and update all effected tests (#5927) 2026-03-27 16:37:42 -04:00
TMTVRendering.spec.ts feat(slice scrollbar): Integrate ViewportSliceProgressScrollbar with customizations and docs (#5960) 2026-04-23 08:46:03 -04:00
TMTVSUV.spec.ts refactor(tests): update viewport page object usage to async and update all effected tests (#5927) 2026-03-27 16:37:42 -04:00
WindowLevelOverlayText.spec.ts refactor(tests): update viewport page object usage to async and update all effected tests (#5927) 2026-03-27 16:37:42 -04:00
ZoomIn.spec.ts test( zoomIn-tool): verify horizontal flip is preserved in magnified view (#5983) 2026-04-29 10:32:27 -04:00