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

Abierto
#243 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 6 días

@AnSergioFern ya está trabajando en esto.

Desde el 23/11/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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
Lenguaje dominante
Python
Estrellas
3
Forks
1
Merge medio
5 d 9 h
PR fusionados (30 d)
23

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ansys/Visual-Interactive-Simulation-Object-Renderer

Todos los issues de ansys/Visual-Interactive-Simulation-Object-Renderer

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.