Skip to content

test(e2e): wait for tooltips to close before the reslice baseline - #1061

Open
PaulHax wants to merge 1 commit into
mainfrom
reslice-baseline-tooltip
Open

PaulHax wants to merge 1 commit into
mainfrom
reslice-baseline-tooltip

Conversation

@PaulHax

@PaulHax PaulHax commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

The oblique reslice test in tests/specs/vtk-widget-interactions.e2e.ts captures the coronal view once as the baseline that Reset Views must return to. If the pointer ends on the Layouts button after the layout menu closes, the Layouts tooltip is still fading over the coronal view when that baseline is captured. The view after Reset Views then never matches it, and the poll times out.

This happened on a macOS runner in https://github.com/Kitware/VolView/actions/runs/46330924062/job/141560576129 (478 changed pixels against a limit of 20). The trace's screencast shows the Layouts tooltip over the coronal view during the baseline capture, and gone in every capture after the reset.

The test now waits until no tooltip content is visible before capturing the baseline.

The oblique reslice test captures the coronal view once as the baseline
that Reset Views must return to. When the pointer ends on the Layouts
button after the layout menu closes, its tooltip is still fading over
the coronal view at that moment, and the reset view then differs from
the baseline by hundreds of pixels until the poll times out.
@netlify

netlify Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

❌ Deploy Preview for volview-dev failed.

Name Link
🔨 Latest commit 02def35
🔍 Latest deploy log https://app.netlify.com/projects/volview-dev/deploys/6b0cd32a65298161d4c72b85

This branch has not been deployed

No deployments
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