Skip to content

test(e2e): stabilize software-rendered browser runs - #917

Merged
PaulHax merged 1 commit into
Kitware:mainfrom
PaulHax:e2e-stability
Aug 6, 2026
Merged

test(e2e): stabilize software-rendered browser runs#917
PaulHax merged 1 commit into
Kitware:mainfrom
PaulHax:e2e-stability

Conversation

@PaulHax

@PaulHax PaulHax commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • Reduce local e2e concurrency from six Chrome instances to three.
  • Restore the default render/download timeout from 20 to 30 seconds.
  • Make the layer overlay test wait for an active dataset and open a different dataset's menu before selecting Add Layer.
  • Leave the existing Linux Xvfb and Chrome renderer configuration unchanged.

Why

Six software-rendered Chrome instances can starve the browser and WebDriver long enough for otherwise healthy views to exceed the 20-second render timeout. Timed-out pages recovered without a reload once CPU pressure eased. CI already runs one instance and sets DOWNLOAD_TIMEOUT=90000, so these concurrency and default-timeout changes are local-only.

The first CI run for this PR exposed a separate race in layers-and-rendering.e2e.ts. The test waited for two dataset menus, then always opened the second menu. Add Layer is only available after a primary dataset is active and only on a different dataset, so the test could wait for an element that should not exist. It now waits for both active and inactive datasets and opens an inactive dataset's menu.

The Linux GL backend experiment was removed from this PR so renderer changes can be evaluated independently.

Tested

  • npm run test:e2e:chrome — 30/30 spec files passed with three local Chrome instances
  • layers-and-rendering.e2e.ts under the existing CI-style Xvfb configuration — 10 consecutive passes
  • npm run lint
  • Prettier and git diff --check

@netlify

netlify Bot commented Aug 4, 2026

Copy link
Copy Markdown

Deploy Preview for volview-dev ready!

Name Link
🔨 Latest commit 49e59a0
🔍 Latest deploy log https://app.netlify.com/projects/volview-dev/deploys/6a750fef540d24000849a2d7
😎 Deploy Preview https://deploy-preview-917--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 marked this pull request as ready for review August 6, 2026 23:48
@PaulHax
PaulHax added this pull request to the merge queue Aug 6, 2026
Merged via the queue into Kitware:main with commit 85236c4 Aug 6, 2026
8 checks passed
@PaulHax
PaulHax deleted the e2e-stability branch August 6, 2026 23:52
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