You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Test Case]: TC-5 Cross-mode state load and tensor magnitude color map #245
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 by Tensors9, 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_by is Tensors9 and color_by_component is 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.
Activity