Fix flaky SEGDataOverlayForUnreferencedDisplaySetNoHydration test. (#5254)
This commit is contained in:
parent
763002f2fe
commit
730046f83c
@ -4,7 +4,7 @@ import { press } from './utils/keyboardUtils';
|
||||
import { assertNumberOfModalityLoadBadges } from './utils/assertions';
|
||||
|
||||
test.beforeEach(async ({ page }) => {
|
||||
const studyInstanceUID = '1.3.6.1.4.1.14519.5.2.1.1706.8374.643249677828306008300337414785';
|
||||
const studyInstanceUID = '1.3.6.1.4.1.14519.5.2.1.3671.4754.298665348758363466150039312520';
|
||||
const mode = 'segmentation';
|
||||
await visitStudy(page, studyInstanceUID, mode, 2000);
|
||||
});
|
||||
@ -12,10 +12,12 @@ test.beforeEach(async ({ page }) => {
|
||||
test('should overlay an unhydrated SEG over a display set that the SEG does NOT reference', async ({
|
||||
page,
|
||||
}) => {
|
||||
await page.getByTestId('study-browser-thumbnail').nth(2).dblclick();
|
||||
|
||||
await page.getByTestId('dataOverlayMenu-default-btn').click();
|
||||
await page.getByTestId('AddSegmentationDataOverlay-default').click();
|
||||
await page.getByText('SELECT A SEGMENTATION').click();
|
||||
await page.getByTestId('Segmentation').click();
|
||||
await page.getByTestId('T2 Weighted Axial Segmentations').click();
|
||||
|
||||
// Adding an overlay should not show the LOAD button.
|
||||
assertNumberOfModalityLoadBadges({ page, expectedCount: 0 });
|
||||
@ -32,7 +34,7 @@ test('should overlay an unhydrated SEG over a display set that the SEG does NOT
|
||||
);
|
||||
|
||||
// Navigate to the middle image of the default viewport.
|
||||
await press({ page, key: 'ArrowDown', nTimes: 9 });
|
||||
await press({ page, key: 'ArrowDown', nTimes: 12 });
|
||||
|
||||
await page.waitForTimeout(5000);
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 175 KiB After Width: | Height: | Size: 349 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 154 KiB After Width: | Height: | Size: 358 KiB |
Loading…
Reference in New Issue
Block a user