[User Story]: Verify SERVER rendering mode with parity E2E regressions and a manual test session

未關閉
#240 0 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 6 天內回覆

@AnSergioFern 已經在處理了。

開始於 2026年11月23日。

評估

這個 Issue 還沒有評估資料。

描述

test
User Story Description

As a verification engineer I want automated E2E regressions that run in CLIENT and SERVER rendering mode, plus a manual and exploratory test session, so that the resolved remote rendering stories (Phase 3 and Phase 4) stay verified and we know whether SERVER mode looks and behaves like CLIENT mode.

Scope:
SERVER startup and streaming, per-part state on refresh, canvas-driven server camera, live API scene changes, cross-mode state load (P2), and a manual parity walkthrough for widgets, picking, resize, panels and theme, with an exploratory session.

Approach:

  • Tests are parametrized over rendering_mode (client, server) unless the behavior is SERVER-only.
  • The oracle is the saved state (visor.json, named fields only) plus the UI. Pixels are used only to check that frames arrive.
  • Each state-changing test uses a fresh VISOR instance.
  • New module: tests/e2e/regressions/test_remote_rendering.py. It runs in the PR CI regression job (Linux, Xvfb, Mesa).

Test cases (sub-issues): TC-1 to TC-4 (P1, automated), TC-5 (P2, automated), TC-6 (P1, manual and exploratory).

Acceptance Criteria
  • Given any new test, when it runs alone, in a different order or as the full module, then it passes, because each state-changing test uses a fresh VISOR instance.
  • Given a SERVER test, when it waits for the viewer, then it uses the defined frame-readiness condition (decoded stream image, two distinct frames) and no fixed sleeps.
  • Given any new test, when it finishes, then it has asserted zero unexpected browser console or page errors.
  • Given state assertions, when they compare saved state, then they compare named fields (camera, visible, opacity, diffuse_rgb, color_by, color_by_component) with stated tolerances, not whole files.
  • Given each new regression, when its guarded behavior is broken locally, then it fails on the intended assertion, and positive and negative reports are attached to its test case.
  • Given an open bug that still reproduces (#236, #238), when its test runs, then it is a strict xfail that references the bug, not a skip.
  • Given the manual scenario, when TC-6 is executed on Windows in SERVER and CLIENT mode, then results are recorded in a Test Log and every defect is filed and linked to this story.
  • Given the story closes, then all P1 test cases are done and TC-5 is either done or moved to a follow-up story.
Additional Links
  • Parent: #25 (Step 4: remote rendering configuration addition), epic #15
  • Stories under test: #18, #20, #21, #22, #23, #24, #26, #27, #28, #29, #30, #31, #192
  • Related bugs and features: #191, #220, #236, #238
  • Test cases: #241 (TC-1), #242 (TC-2), #243 (TC-3), #244 (TC-4), #245 (TC-5, P2), #246 (TC-6, manual)
Requires new or update to third party ? If "yes" add the name(s) and the version(s) of the Third Party Software.

No

Name and Version for Third Parties

No response

主要語言
Python
星號
3
分支
1
平均合併
5 天 9 小時
30 天內合併 PR
23

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

ansys/Visual-Interactive-Simulation-Object-Renderer 的其他 Issue

查看 ansys/Visual-Interactive-Simulation-Object-Renderer 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。