ohif-viewer/tests/utils
Alireza 6dd150d401
fix: ohif tests to run with cornerstone 3d 5.0 (#6043)
* chore(tests): Update multiple screenshot test images for various specs

* feat(screenshot-reviewer): Add screenshot review tool and update package.json scripts

* fix(DICOMSRDisplayTool): Improve actor presence check in viewport

* chore(tests): Update multiple screenshot assets for various specs

* chore(tests): Integrate waitForPaintToSettle and waitForViewportsRendered in multiple specs for improved rendering stability

* chore(tests): Update screenshot assets for SEGHydration and SEGNoHydration specs

* test: update progressive loading screenshots

* jest 30 test fixes for compatibility with pnpm cs3d

* Use correct setDisplaySets instead of setDataId

* fix: Naming change for LegacyVolumeViewport3D

* Update to allow tolerance for contour tests

* update

* fix

* refactor: Replace instanceof checks with utility functions for viewport type validation

* fix: Update createSegmentationForViewport to handle undefined displaySetInstanceUID gracefully

* bun lock

* fix: Install cs3d with pnpm instead of bun

* Update node version for playwright

* Update to v5.0.0 of cs3d

* fix: Build dependency

* audit

* Change to a web await retry assert

* Fix timing related test failures

* fix: Freehand close

---------

Co-authored-by: Bill Wallace <wayfarer3130@gmail.com>
2026-06-09 20:25:14 -04:00
..
addLengthMeasurement.ts refactor(tests): update viewport page object usage to async and update all effected tests (#5927) 2026-03-27 16:37:42 -04:00
assertions.ts test(ContourSegNavigation): Add e2e tests for contour segmentation navigation (#5834) 2026-03-03 16:52:03 -05:00
attemptAction.ts fix(CinePlayer): always show cine player for dynamic data (#4575) 2024-12-05 11:30:21 -05:00
checkForScreenshot.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
clearAllAnnotations.ts Test: Playwright tests for tmtv (#4331) 2024-08-15 21:57:04 -04:00
download.ts chore(tests): update screenshots (#5413) 2025-09-17 15:35:13 -04:00
fixture.ts feat(slice scrollbar): Integrate ViewportSliceProgressScrollbar with customizations and docs (#5960) 2026-04-23 08:46:03 -04:00
getAnnotationStats.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
getSUV.ts Test: Playwright tests for tmtv (#4331) 2024-08-15 21:57:04 -04:00
getSvgAttribute.ts feat(tests): Add tests for duplicating contour segments (#6002) 2026-05-20 21:18:58 -04:00
getTMTVModalityUnit.ts Test: Playwright tests for tmtv (#4331) 2024-08-15 21:57:04 -04:00
index.ts fix: ohif tests to run with cornerstone 3d 5.0 (#6043) 2026-06-09 20:25:14 -04:00
keyboardUtils.ts fix(segmentation): Added support for unhydrated RTSTRUCT in MPR. Added support for overlaying segmentations over display sets the segmentations do not reference. (#5168) 2025-07-02 08:38:22 -04:00
mouseUtils.ts chore: recovery 2 (#5014) merge to 3.11 (#5175) 2025-07-03 14:08:46 -04:00
navigateWithViewportArrow.ts refactor(tests): update viewport page object usage to async and update all effected tests (#5927) 2026-03-27 16:37:42 -04:00
OHIFConfiguration.ts feat(slice scrollbar): Integrate ViewportSliceProgressScrollbar with customizations and docs (#5960) 2026-04-23 08:46:03 -04:00
reduce3DviewportSize.ts Test: Playwright tests for tmtv (#4331) 2024-08-15 21:57:04 -04:00
screenShotPaths.ts fix(seg): prevent viewport orientation change when loading SEG in manual grid layout (#6021) 2026-05-19 15:59:42 -04:00
scrollVolumeViewport.ts Test: Playwright tests for tmtv (#4331) 2024-08-15 21:57:04 -04:00
simulateClicksOnElement.ts fix(ArrowAnnotate): Allow free-form text for arrow annotations (#5259) 2025-07-24 12:58:45 -04:00
simulateDragOnElement.ts test(e2e): update Playwright screenshots and add better tests and assertions for area calculations (#6022) 2026-05-18 10:36:05 -04:00
subscribeToMeasurement.ts chore(test): add FreehandROI test that MEASUREMENT_ADDED does not fire when clicking annotation text (#5846) 2026-03-02 08:12:28 -05:00
visitStudy.ts chore: add test coverage (#4960) 2025-04-16 15:56:52 -04:00
waitForViewportsRendered.ts fix: ohif tests to run with cornerstone 3d 5.0 (#6043) 2026-06-09 20:25:14 -04:00