test: update Test/tmtv for v3.10.0-beta.136 (#4893)

This commit is contained in:
dxlin authored and GitHub committed 2025-03-31 09:10:31 -04:00
1 parent 7f3fb9bb61
commit d9473e8db2
4 files changed
+11 -12

No files matched your search

+6 -5
View File
@@ -9,15 +9,16 @@ import {
test.skip('pets where SUV cannot be calculated should show same unit in TMTV as in Basic Viewer.', async ({
page,
}) => {
const studyInstanceUID = '1.3.6.1.4.1.14519.5.2.1.7009.2403.871108593056125491804754960339';
const studyInstanceUID = '1.2.840.113619.2.290.3.3767434740.226.1600859119.501';
const mode = 'tmtv';
await visitStudy(page, studyInstanceUID, mode, 10000);
// Change to image where SUV cannot be calculated
// Show sidebar
await page.getByTestId('side-panel-header-left').click();
await page
.getByRole('button', { name: 'S: 2 311 PET NAC' })
.dragTo(page.getByTestId('viewport-grid').locator('canvas').nth(3));
// Change to image where SUV cannot be calculated
await page.getByTestId('viewport-grid').locator('canvas').nth(3).click();
await page.getByRole('button', { name: 'NAC' }).nth(1).dblclick();
// Wait for the new series to load
await page.waitForLoadState('networkidle');