Skip to content

e2e runs retry downloads and are headless#885

Merged
PaulHax merged 2 commits into
Kitware:mainfrom
PaulHax:e2e-download-retry
Jun 2, 2026
Merged

e2e runs retry downloads and are headless#885
PaulHax merged 2 commits into
Kitware:mainfrom
PaulHax:e2e-download-retry

Conversation

@PaulHax
Copy link
Copy Markdown
Collaborator

@PaulHax PaulHax commented Jun 2, 2026

Two small fixes to the wdio e2e setup.

e2e runs retry downloads and are headless

PaulHax added 2 commits June 2, 2026 15:46
Flaky connectivity to data.kitware.com could fail a single onPrepare
download, leaving .tmp without the dataset and causing specs to fail at
the render-wait step as if WebGL were broken. Retry each download up to
3 times, write atomically via a .part rename so a partial download is
never cached as complete, and check response.ok so an error page is not
saved as DICOM.
Local wdio launched headed chrome on the WSLg desktop, so browser
windows popped up on the host display during every test run. Default to
headless (with --enable-unsafe-swiftshader, since chrome no longer
auto-falls back to software WebGL) and add a HEADED=1 escape hatch for
watching tests. CI behavior is unchanged.
@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 2, 2026

Deploy Preview for volview-dev ready!

Name Link
🔨 Latest commit e1ccdc0
🔍 Latest deploy log https://app.netlify.com/projects/volview-dev/deploys/6a1f33c1b726250008ecff5c
😎 Deploy Preview https://deploy-preview-885--volview-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@PaulHax PaulHax added this pull request to the merge queue Jun 2, 2026
Merged via the queue into Kitware:main with commit f161272 Jun 2, 2026
8 checks passed
@PaulHax PaulHax deleted the e2e-download-retry branch June 2, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant