fix(test): stabilize DICOM Tag Browser scrollbar screenshot (#6118)

This commit is contained in:
Alireza 2026-06-30 09:25:37 -04:00 committed by GitHub
parent d4153f12b2
commit aa1ba771e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -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