You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Test Case]: TC-3 Canvas interaction drives the server camera and survives refresh #243
Automated E2E regression (P1). Verify that mouse drag and wheel input on the SERVER stream image changes the server-side camera, and that the camera survives a page refresh. A CLIENT control checks that the view does not jump when a part property changes.
📜 Steps
SERVER: start a fresh instance and wait for two decoded frames. Save state to get camera A.
Left-drag across the viewer center with page.mouse (down, 10 intermediate moves, up).
Poll the saved state until the camera differs from A (camera B), with a 10 s timeout.
Scroll the wheel over the viewer center. Poll until the distance from camera position to focal point differs from B (camera C).
Reload the page, wait for frame readiness and save state to get camera D.
CLIENT control: orbit with the mouse, wait for the camera to settle, then change a part opacity in the UI. Compare the camera before and after the opacity change.
🧪 Expected Results
B differs from A (position or view-up).
The distance in C differs from B.
D equals C within 1e-3 relative.
CLIENT: the camera is unchanged by the opacity change within 1e-3 (the view does not jump).
No assertion on wheel direction or exact amounts. No unexpected console or page errors.
Negative validation: asserting D equals A fails. Positive and negative reports are attached here.
📁 Test Data
examples/assets/vtk_scene_sphere_l2_b3_r32_v3_c1_z3.vtm and .json
Activity