fix(colors): Replaces legacy colors with ui-next colors (#5351)

* Update playwright screenshots and fix broken tests.

---------

Co-authored-by: Joe Boccanfuso <joe.boccanfuso@radicalimaging.com>
This commit is contained in:
Dan RukasandJoe Boccanfuso authored and GitHub committed 2026-02-12 08:48:05 -05:00
1 parent 4dfd80f1fd
commit 9a2691a71f
87 files changed
+201 -204

No files matched your search

+10 -9
View File
@@ -1,4 +1,4 @@
import { checkForScreenshot, screenShotPaths, test, visitStudy } from './utils';
import { expect, test, visitStudy } from './utils';
test.beforeEach(async ({ page }) => {
const studyInstanceUID = '1.3.6.1.4.1.14519.5.2.1.7310.5101.860473186348887719777907797922';
@@ -20,17 +20,18 @@ test('should properly reload SR series after hydration', async ({
await DOMOverlayPageObject.viewport.segmentationHydration.yes.click();
await page.waitForTimeout(2000);
await checkForScreenshot(page, page, screenShotPaths.srHydrationThenReload.srAfterHydration);
const measurementCountAfterFirstLoad =
await rightPanelPageObject.measurementsPanel.panel.getMeasurementCount();
expect(measurementCountAfterFirstLoad).toBeGreaterThan(0);
const measurementCount = await rightPanelPageObject.measurementsPanel.panel.getMeasurementCount();
if (measurementCount > 1) {
await rightPanelPageObject.measurementsPanel.panel.nthMeasurement(1).click();
await page.waitForTimeout(1000);
}
await rightPanelPageObject.measurementsPanel.panel.nthMeasurement(1).click();
await page.waitForTimeout(1000);
await leftPanelPageObject.loadSeriesByModality('SR');
await page.waitForTimeout(2000);
await checkForScreenshot(page, page, screenShotPaths.srHydrationThenReload.srAfterReload);
const measurementCountAfterSecondLoad =
await rightPanelPageObject.measurementsPanel.panel.getMeasurementCount();
expect(measurementCountAfterSecondLoad).toBe(measurementCountAfterFirstLoad);
});
Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 999 B

After

Width:  |  Height:  |  Size: 997 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 KiB

After

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 KiB

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 KiB

After

Width:  |  Height:  |  Size: 281 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 415 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 419 KiB

-4
View File
@@ -124,10 +124,6 @@ const screenShotPaths = {
srPreHydration: 'srPreHydration.png',
srJumpToMeasurement: 'srJumpToMeasurement.png',
},
srHydrationThenReload: {
srAfterHydration: 'srAfterHydration.png',
srAfterReload: 'srAfterReload.png',
},
segHydration: {
segPostHydration: 'segPostHydration.png',
segPreHydration: 'segPreHydration.png',