[Test Case]: TC-5 Cross-mode state load and tensor magnitude color map
维护者通常 6 天内回复
@AnSergioFern 已经在做这个了。
开始于 2026年11月23日。
评估
这个 Issue 还没有评估数据。
描述
📝 Description
Automated E2E regression (P2, only after the P1 test cases are done, otherwise moved to a follow-up story). Verify that a state saved in one rendering mode loads correctly in the other mode, including a 9-component tensor variable colored by magnitude.
Same-mode save/load is already covered by tests/integration/test_save_load_state.py and tests/e2e/regressions/test_save_load_state.py and is not repeated here.
📜 Steps
- CLIENT instance with
tensors9.vtp. Color byTensors9, component Magnitude. Change the camera and a part opacity. Save state to a temp dir. - Start a fresh SERVER instance without input (empty scene), open the page, call
load_state(dir), then reload. - Repeat in the reverse direction (SERVER save, CLIENT load).
Note: load_state restores datasets from snapshots only when the scene is empty. On a non-empty scene it only applies the state to datasets already loaded. This is by design.
🧪 Expected Results
After load and after reload in the other mode:
color_byisTensors9andcolor_by_componentis the magnitude value (-1).- The legend title and range match the source.
- The part opacity matches, and the camera matches within 1e-3.
- Only these named fields are compared. No unexpected console or page errors.
- Negative validation: positive and negative reports are attached here.
📁 Test Data
examples/assets/tensors9.vtp(Tensors9, 9 components)
🔗 Related Issues
- Stories: #20, #22, #23, #24
- Parent story: linked as sub-issue
- 主要语言
- Python
- 星标
- 3
- 派生
- 1
- 平均合并
- 5 天 9 小时
- 30 天内合并 PR
- 23
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ansys/Visual-Interactive-Simulation-Object-Renderer 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
ansys/Visual-Interactive-Simulation-Object-Renderer#211 · 已指派 1 人 ·
维护者通常 6 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
ansys/Visual-Interactive-Simulation-Object-Renderer#175 ·
维护者通常 6 天内回复
-
Incorrect Visordash use in documentation可能重新可做 @ansBAkula 于 38 天前认领,目前没有进行中的 PR。 未关闭
难度 1/5 1 小时以内 新手友好度 85/100
ansys/Visual-Interactive-Simulation-Object-Renderer#174 · 已指派 1 人 ·
维护者通常 6 天内回复
-
Apply button未关闭enhancement
难度 2/5 1-3 小时 新手友好度 68/100
ansys/Visual-Interactive-Simulation-Object-Renderer#157 ·
维护者通常 6 天内回复
-
visor-setup on macOS可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
ansys/Visual-Interactive-Simulation-Object-Renderer#148 ·
维护者通常 6 天内回复
查看 ansys/Visual-Interactive-Simulation-Object-Renderer 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
Pantheon-Security/medusa#24 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
TigreGotico/scriptconv#445 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
TigreGotico/phoonnx#1045 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 2 天内回复