Skip to content

Commit f1d732c

Browse files
authored
Merge pull request #1405 from thewtex/dicom-playwright
test(dicom): migrate from cypress to playwright
2 parents ee6bbaa + 4841e75 commit f1d732c

34 files changed

Lines changed: 525 additions & 498 deletions

.github/workflows/cypress.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
max-parallel: 3
2222
matrix:
23-
package: [dicom, mesh-io, image-io, transform-io, downsample]
23+
package: [mesh-io, image-io, transform-io, downsample]
2424

2525
steps:
2626
- name: Checkout
@@ -77,7 +77,6 @@ jobs:
7777
pnpm run --aggregate-output --filter "@itk-wasm/${{ matrix.package }}-build" test:data:download
7878
7979
- name: Test with Chrome
80-
if: ${{ matrix.package != 'dicom' }}
8180
uses: cypress-io/github-action@v6
8281
with:
8382
browser: chrome
@@ -94,7 +93,7 @@ jobs:
9493
if-no-files-found: ignore
9594

9695
#- name: Test with Firefox
97-
#if: ${{ matrix.package != 'compress-stringify' && matrix.package != 'dicom' && matrix.package != 'mesh-io' && matrix.package != 'image-io' && matrix.package != 'downsample' }}
96+
#if: ${{ matrix.package != 'compress-stringify' && matrix.package != 'mesh-io' && matrix.package != 'image-io' && matrix.package != 'downsample' }}
9897
#uses: cypress-io/github-action@v6
9998
#with:
10099
#browser: firefox

.github/workflows/playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
strategy:
148148
max-parallel: 3
149149
matrix:
150-
package: [compare-images, compress-stringify]
150+
package: [compare-images, compress-stringify, dicom]
151151

152152
steps:
153153
- name: Checkout
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
cypress/screenshots/
2-
cypress/videos/
3-
41
demo-app/
52
test/browser/demo-app/public/
3+
test-results/
4+
playwright-report/

packages/dicom/typescript/cypress.config.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/dicom/typescript/cypress/e2e/apply-presentation-state-to-image.cy.ts

Lines changed: 0 additions & 29 deletions
This file was deleted.

packages/dicom/typescript/cypress/e2e/common.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/dicom/typescript/cypress/e2e/read-dicom-encapsulated-pdf.cy.ts

Lines changed: 0 additions & 24 deletions
This file was deleted.

packages/dicom/typescript/cypress/e2e/read-dicom-tags.cy.ts

Lines changed: 0 additions & 24 deletions
This file was deleted.

packages/dicom/typescript/cypress/e2e/read-image-dicom-file-series.cy.ts

Lines changed: 0 additions & 29 deletions
This file was deleted.

packages/dicom/typescript/cypress/e2e/read-overlapping-segmentation.cy.ts

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)