[Test Case]: TC-3 Canvas interaction drives the server camera and survives refresh

Aperta
#243 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 6 giorni

@AnSergioFern ci sta già lavorando.

Dal 23/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

test case
📝 Description

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
  1. SERVER: start a fresh instance and wait for two decoded frames. Save state to get camera A.
  2. Left-drag across the viewer center with page.mouse (down, 10 intermediate moves, up).
  3. Poll the saved state until the camera differs from A (camera B), with a 10 s timeout.
  4. Scroll the wheel over the viewer center. Poll until the distance from camera position to focal point differs from B (camera C).
  5. Reload the page, wait for frame readiness and save state to get camera D.
  6. 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
🔗 Related Issues
  • Stories: #20, #28, #30
  • Parent story: linked as sub-issue
Lingua principale
Python
Stelle
3
Fork
1
Merge medio
5g 9h
PR unite (30g)
23

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ansys/Visual-Interactive-Simulation-Object-Renderer

Tutte le issue di ansys/Visual-Interactive-Simulation-Object-Renderer

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.