feature(segmentation): Add contour tools and utilities in a side panel (#5517)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Dan Rukas <dan.rukas@gmail.com>
No files matched your search
@@ -22,6 +22,8 @@ test('should prevent editing of label map segmentations when panelSegmentation.d
|
||||
}
|
||||
);
|
||||
});
|
||||
await page.getByTestId('panelSegmentationWithToolsLabelMap-btn').click();
|
||||
|
||||
await page.getByTestId('study-browser-thumbnail-no-image').dblclick();
|
||||
// Wait for the segmentation to be loaded.
|
||||
await page.waitForTimeout(5000);
|
||||
@@ -74,6 +76,9 @@ test('should allow editing of label map segmentations when panelSegmentation.dis
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
await page.getByTestId('panelSegmentationWithToolsLabelMap-btn').click();
|
||||
|
||||
await page.getByTestId('study-browser-thumbnail-no-image').dblclick();
|
||||
// Wait for the segmentation to be loaded.
|
||||
await page.waitForTimeout(5000);
|
||||
|
||||
@@ -13,11 +13,13 @@ test('should properly display MPR for MR', async ({ page }) => {
|
||||
|
||||
await page.getByTestId('yes-hydrate-btn').click();
|
||||
|
||||
await page.waitForTimeout(5000);
|
||||
await checkForScreenshot(page, page, screenShotPaths.segHydrationThenMPR.segPostHydration);
|
||||
|
||||
await page.getByTestId('Layout').click();
|
||||
await page.getByTestId('Axial Primary').click();
|
||||
|
||||
await page.waitForTimeout(5000);
|
||||
await checkForScreenshot(
|
||||
page,
|
||||
page,
|
||||
|
||||
@@ -10,9 +10,12 @@ test.beforeEach(async ({ page }) => {
|
||||
|
||||
test('checks basic add, rename, delete segments from panel', async ({ page }) => {
|
||||
// Segmentation Panel should already be open
|
||||
const segmentationPanel = page.getByTestId('panelSegmentationWithTools-btn');
|
||||
const segmentationPanel = page.getByTestId('panelSegmentationWithToolsLabelMap-btn');
|
||||
await expect(segmentationPanel).toBeVisible();
|
||||
|
||||
// Switch to labelmap tab.
|
||||
segmentationPanel.click();
|
||||
|
||||
// Add segmentation
|
||||
const addSegmentationBtn = page.getByTestId('addSegmentation');
|
||||
await addSegmentationBtn.click();
|
||||
@@ -72,7 +75,7 @@ test('checks saved segmentations loads and jumps to slices', async ({ page }) =>
|
||||
await page.getByTestId('yes-hydrate-btn').click();
|
||||
|
||||
// Segmentation Panel should already be open
|
||||
const segmentationPanel = page.getByTestId('panelSegmentationWithTools-btn');
|
||||
const segmentationPanel = page.getByTestId('panelSegmentationWithToolsLabelMap-btn');
|
||||
await expect(segmentationPanel).toBeVisible();
|
||||
|
||||
// Confirm spleen jumps to slice 17
|
||||
|
||||
|
Before Width: | Height: | Size: 198 KiB After Width: | Height: | Size: 196 KiB |
|
Before Width: | Height: | Size: 210 KiB After Width: | Height: | Size: 210 KiB |
|
Before Width: | Height: | Size: 201 KiB After Width: | Height: | Size: 202 KiB |
|
Before Width: | Height: | Size: 193 KiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 200 KiB After Width: | Height: | Size: 201 KiB |
|
Before Width: | Height: | Size: 209 KiB After Width: | Height: | Size: 209 KiB |
|
Before Width: | Height: | Size: 304 KiB After Width: | Height: | Size: 303 KiB |
|
Before Width: | Height: | Size: 297 KiB After Width: | Height: | Size: 296 KiB |
|
Before Width: | Height: | Size: 282 KiB After Width: | Height: | Size: 281 KiB |
|
Before Width: | Height: | Size: 299 KiB After Width: | Height: | Size: 298 KiB |
|
Before Width: | Height: | Size: 147 KiB After Width: | Height: | Size: 144 KiB |
|
Before Width: | Height: | Size: 151 KiB After Width: | Height: | Size: 148 KiB |
|
Before Width: | Height: | Size: 406 KiB After Width: | Height: | Size: 406 KiB |
|
Before Width: | Height: | Size: 420 KiB After Width: | Height: | Size: 420 KiB |