fix(test): stabilize DICOM Tag Browser scrollbar screenshot (#6118)
This commit is contained in:
parent
d4153f12b2
commit
aa1ba771e0
@ -41,12 +41,17 @@ test('should display the dicom tag browser', async ({ page, mainToolbarPageObjec
|
||||
test('should render the scroll bar with the correct look-and-feel', async ({
|
||||
page,
|
||||
mainToolbarPageObject,
|
||||
DOMOverlayPageObject,
|
||||
}) => {
|
||||
const studyInstanceUID = '1.3.6.1.4.1.25403.345050719074.3824.20170125095438.5';
|
||||
const mode = 'viewer';
|
||||
await visitStudy(page, studyInstanceUID, mode, 2000);
|
||||
|
||||
await mainToolbarPageObject.moreTools.tagBrowser.click();
|
||||
|
||||
const dicomTagBrowser = DOMOverlayPageObject.dialog.dicomTagBrowser;
|
||||
await dicomTagBrowser.waitVisible();
|
||||
|
||||
await checkForScreenshot({
|
||||
page,
|
||||
normalizedClip: { x: 0.77, y: 0.25, width: 0.03, height: 0.75 },
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 748 B After Width: | Height: | Size: 750 B |
Loading…
Reference in New Issue
Block a user