ohif-viewer/tests/utils/getSvgPath.ts
diattamo f2ed4c9e6f
test(ContourSegNavigation): Add e2e tests for contour segmentation navigation (#5834)
---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-03-03 16:52:03 -05:00

12 lines
296 B
TypeScript

import { ViewportPageObject } from '../pages/ViewportPageObject';
const getSvgPath = async (viewportPageObject: ViewportPageObject, viewportId = 'default') => {
return viewportPageObject
.getById(viewportId)
.svg('path')
.first()
.getAttribute('d');
};
export { getSvgPath };