test: update Test/tmtv for v3.10.0-beta.136 (#4893)
This commit is contained in:
1 parent
7f3fb9bb61
commit
d9473e8db2
4 files changed
+11
-12
No files matched your search
@@ -2,7 +2,7 @@ import { expect, test } from '@playwright/test';
|
||||
import { visitStudy, simulateClicksOnElement, getSUV, clearAllAnnotations } from './utils/index';
|
||||
|
||||
test.skip('should update SUV values correctly.', 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);
|
||||
|
||||
@@ -31,7 +31,7 @@ test.skip('should update SUV values correctly.', async ({ page }) => {
|
||||
let oldSUV = await getSUV(page);
|
||||
|
||||
// Change PT Weight
|
||||
await page.getByTestId('input-weight-input').fill('31');
|
||||
await page.locator('#weight-input').fill('31');
|
||||
await page.getByText('Reload Data').click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
// Get new SUV text
|
||||
@@ -43,10 +43,9 @@ test.skip('should update SUV values correctly.', async ({ page }) => {
|
||||
|
||||
// Change total dose
|
||||
await page
|
||||
.getByText('Patient SexWeight kgTotal')
|
||||
.locator('div')
|
||||
.filter({ hasText: /^Total Dose bq$/ })
|
||||
.getByTestId('input-undefined')
|
||||
.getByRole('textbox')
|
||||
.fill('1888020304');
|
||||
await page.getByText('Reload Data').click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
@@ -60,10 +59,9 @@ test.skip('should update SUV values correctly.', async ({ page }) => {
|
||||
|
||||
// Change injection time
|
||||
await page
|
||||
.getByText('Patient SexWeight kgTotal')
|
||||
.locator('div')
|
||||
.filter({ hasText: /^Injection Time s$/ })
|
||||
.getByTestId('input-undefined')
|
||||
.getByRole('textbox')
|
||||
.fill('060000');
|
||||
await page.getByText('Reload Data').click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
|
||||
Reference in new issue
Block a user