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

Aberta
#243 0 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 6 dias

@AnSergioFern já está trabalhando nisso.

Desde 23/11/2026.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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
Linguagem predominante
Python
Estrelas
3
Forks
1
Merge médio
5d 9h
PRs com merge (30d)
23

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de ansys/Visual-Interactive-Simulation-Object-Renderer

Todas as issues de ansys/Visual-Interactive-Simulation-Object-Renderer

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.