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

オープン
#243 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 6 日以内に返信

@AnSergioFern がすでに取り組んでいます。

2026年11月23日 から。

評価

この issue はまだ評価されていません。

説明

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
主要言語
Python
スター
3
フォーク
1
平均マージ
5日 9時間
マージ済み PR(30日)
23

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ansys/Visual-Interactive-Simulation-Object-Renderer のほかの issue

ansys/Visual-Interactive-Simulation-Object-Renderer の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。