fix(segmentation): Removed LOAD/hydrate button for segmentation overlays (#5214)
This commit is contained in:
1 parent
302705ea4d
commit
e0289dc49f
29 files changed
+95
-7
No files matched your search
@@ -13,6 +13,8 @@ test('should display added, selected and removed segmentation promptly', async (
|
||||
await page.getByText('SELECT A SEGMENTATION').click();
|
||||
await page.getByTestId('2d-tta_nnU-Net_Segmentation').click();
|
||||
|
||||
await page.waitForTimeout(5000);
|
||||
|
||||
await checkForScreenshot({
|
||||
page,
|
||||
screenshotPath:
|
||||
@@ -25,6 +27,8 @@ test('should display added, selected and removed segmentation promptly', async (
|
||||
// navigate to the 51st image and ensure the correct overlay is displayed
|
||||
await press({ page, key: 'ArrowDown', nTimes: 50 });
|
||||
|
||||
await page.waitForTimeout(5000);
|
||||
|
||||
await checkForScreenshot({
|
||||
page,
|
||||
screenshotPath: screenShotPaths.dataOverlayMenu.overlay2d_tta_nnU_Net_Segmentation,
|
||||
@@ -37,6 +41,8 @@ test('should display added, selected and removed segmentation promptly', async (
|
||||
await page.getByTestId('overlay-ds-select-value-2D-TTA_NNU-NET_SEGMENTATION').click();
|
||||
await page.getByTestId('Segmentation-SEG').click();
|
||||
|
||||
await page.waitForTimeout(5000);
|
||||
|
||||
await checkForScreenshot({
|
||||
page,
|
||||
screenshotPath: screenShotPaths.dataOverlayMenu.overlayMenuWithSegmentationSelected,
|
||||
@@ -48,6 +54,8 @@ test('should display added, selected and removed segmentation promptly', async (
|
||||
// navigate to the 51st image and ensure the correct overlay is displayed
|
||||
await press({ page, key: 'ArrowDown', nTimes: 50 });
|
||||
|
||||
await page.waitForTimeout(5000);
|
||||
|
||||
await checkForScreenshot({
|
||||
page,
|
||||
screenshotPath: screenShotPaths.dataOverlayMenu.overlaySegmentation,
|
||||
@@ -60,6 +68,8 @@ test('should display added, selected and removed segmentation promptly', async (
|
||||
await page.getByTestId('overlay-ds-more-button-SEGMENTATION').click();
|
||||
await page.getByTestId('overlay-ds-remove-button-SEGMENTATION').click();
|
||||
|
||||
await page.waitForTimeout(5000);
|
||||
|
||||
await checkForScreenshot({
|
||||
page,
|
||||
screenshotPath: screenShotPaths.dataOverlayMenu.overlayMenuWithSegmentationOverlaysRemoved,
|
||||
@@ -71,6 +81,8 @@ test('should display added, selected and removed segmentation promptly', async (
|
||||
// navigate to the 51st image and ensure no overlay is displayed
|
||||
await press({ page, key: 'ArrowDown', nTimes: 50 });
|
||||
|
||||
await page.waitForTimeout(5000);
|
||||
|
||||
await checkForScreenshot({
|
||||
page,
|
||||
screenshotPath: screenShotPaths.dataOverlayMenu.noOverlay,
|
||||
|
||||
Reference in new issue
Block a user