fix(UI): Restored the scroll bar OHIF L&F (#5202)
This commit is contained in:
1 parent
a24ec13239
commit
94bdcf414d
10 files changed
+66
-6
No files matched your search
@@ -1,13 +1,11 @@
|
||||
import { test } from 'playwright-test-coverage';
|
||||
import { visitStudy, checkForScreenshot, screenShotPaths } from './utils';
|
||||
|
||||
test.beforeEach(async ({ page }) => {
|
||||
test('should display the dicom tag browser', async ({ page }) => {
|
||||
const studyInstanceUID = '1.3.6.1.4.1.25403.345050719074.3824.20170125095438.5';
|
||||
const mode = 'viewer';
|
||||
await visitStudy(page, studyInstanceUID, mode, 2000);
|
||||
});
|
||||
|
||||
test('should display the dicom tag browser', async ({ page }) => {
|
||||
await page.getByTestId('MoreTools-split-button-secondary').click();
|
||||
await page.getByTestId('TagBrowser').click();
|
||||
await checkForScreenshot(
|
||||
@@ -16,3 +14,17 @@ test('should display the dicom tag browser', async ({ page }) => {
|
||||
screenShotPaths.dicomTagBrowser.dicomTagBrowserDisplayedCorrectly
|
||||
);
|
||||
});
|
||||
|
||||
test('should render the scroll bar with the correct look-and-feel', async ({ page }) => {
|
||||
const studyInstanceUID = '1.3.6.1.4.1.25403.345050719074.3824.20170125095438.5';
|
||||
const mode = 'viewer';
|
||||
await visitStudy(page, studyInstanceUID, mode, 2000);
|
||||
|
||||
await page.getByTestId('MoreTools-split-button-secondary').click();
|
||||
await page.getByTestId('TagBrowser').click();
|
||||
await checkForScreenshot({
|
||||
page,
|
||||
normalizedClip: { x: 0.77, y: 0.25, width: 0.03, height: 0.75 },
|
||||
screenshotPath: screenShotPaths.dicomTagBrowser.scrollBarRenderedProperly,
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user