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>
This commit is contained in:
73 files changed
+2770
-435
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user