fix/runner (#4971)
1
.gitignore
vendored
@ -13,6 +13,7 @@ coverage/
|
|||||||
.yarn/
|
.yarn/
|
||||||
.nx/
|
.nx/
|
||||||
addOns/yarn.lock
|
addOns/yarn.lock
|
||||||
|
playwright-report/
|
||||||
|
|
||||||
# YALC (for Erik)
|
# YALC (for Erik)
|
||||||
.yalc
|
.yalc
|
||||||
|
|||||||
@ -54,9 +54,11 @@
|
|||||||
"test:unit": "jest --collectCoverage",
|
"test:unit": "jest --collectCoverage",
|
||||||
"test:unit:ci": "lerna run test:unit:ci --parallel --stream",
|
"test:unit:ci": "lerna run test:unit:ci --parallel --stream",
|
||||||
"test:e2e": "lerna run test:e2e --stream",
|
"test:e2e": "lerna run test:e2e --stream",
|
||||||
"test:e2e:coverage": "nyc --reporter=html yarn run test:e2e:ci -g @debug",
|
"test:e2e:coverage": "nyc --reporter=html yarn run test:e2e:ci",
|
||||||
"test:e2e:ci": "TEST_ENV=true npx playwright test",
|
"test:e2e:ci": "TEST_ENV=true npx playwright test",
|
||||||
"test:e2e:ui": "TEST_ENV=true npx playwright test --ui",
|
"test:e2e:ui": "TEST_ENV=true npx playwright test --ui",
|
||||||
|
"test:e2e:reporter": "TEST_ENV=true npx playwright test --reporter=html -g @debug",
|
||||||
|
"test:e2e:update": "TEST_ENV=true npx playwright test --reporter=html -g @debug --update-snapshots",
|
||||||
"test:e2e:headed": "TEST_ENV=true npx playwright test --headed",
|
"test:e2e:headed": "TEST_ENV=true npx playwright test --headed",
|
||||||
"test:e2e:debug": "TEST_ENV=true npx playwright test --debug",
|
"test:e2e:debug": "TEST_ENV=true npx playwright test --debug",
|
||||||
"test:e2e:dist": "lerna run test:e2e:dist --stream",
|
"test:e2e:dist": "lerna run test:e2e:dist --stream",
|
||||||
|
|||||||
@ -7,7 +7,7 @@ test.beforeEach(async ({ page }) => {
|
|||||||
await visitStudy(page, studyInstanceUID, mode, 2000);
|
await visitStudy(page, studyInstanceUID, mode, 2000);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('should display the circle tool @debug', async ({ page }) => {
|
test('should display the circle tool', async ({ page }) => {
|
||||||
await page.getByTestId('MeasurementTools-split-button-secondary').click();
|
await page.getByTestId('MeasurementTools-split-button-secondary').click();
|
||||||
await page.getByTestId('CircleROI').click();
|
await page.getByTestId('CircleROI').click();
|
||||||
const locator = page.getByTestId('viewport-pane').locator('canvas');
|
const locator = page.getByTestId('viewport-pane').locator('canvas');
|
||||||
|
|||||||
@ -2,7 +2,7 @@ import { test } from 'playwright-test-coverage';
|
|||||||
import { visitStudy, checkForScreenshot, screenShotPaths, simulateClicksOnElement } from './utils';
|
import { visitStudy, checkForScreenshot, screenShotPaths, simulateClicksOnElement } from './utils';
|
||||||
|
|
||||||
test.beforeEach(async ({ page }) => {
|
test.beforeEach(async ({ page }) => {
|
||||||
const studyInstanceUID = '1.3.6.1.4.1.25403.345050719074.3824.20170125095258.1';
|
const studyInstanceUID = '1.3.6.1.4.1.25403.345050719074.3824.20170125095438.5';
|
||||||
const mode = 'viewer';
|
const mode = 'viewer';
|
||||||
await visitStudy(page, studyInstanceUID, mode, 2000);
|
await visitStudy(page, studyInstanceUID, mode, 2000);
|
||||||
});
|
});
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 240 KiB After Width: | Height: | Size: 277 KiB |
|
Before Width: | Height: | Size: 219 KiB After Width: | Height: | Size: 224 KiB |
|
Before Width: | Height: | Size: 191 KiB After Width: | Height: | Size: 210 KiB |
|
Before Width: | Height: | Size: 191 KiB After Width: | Height: | Size: 210 KiB |
|
Before Width: | Height: | Size: 219 KiB After Width: | Height: | Size: 224 KiB |
|
Before Width: | Height: | Size: 154 KiB After Width: | Height: | Size: 146 KiB |