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-2 Per-part state survives browser refresh in CLIENT and SERVER #242
Automated E2E regression (P1), parametrized over CLIENT and SERVER mode. Verify that per-part visibility, opacity and color changes made in the UI are kept by the server and survive a browser refresh.
📜 Steps
Start a fresh instance with the sphere scene and wait for frame readiness.
Hide level_1_block_0_part_0 with its eye icon in the tree.
Select level_1_block_1_part_0 and set opacity to 0.3.
Select level_1_block_2_part_0 and set color to #ff0000.
Save state to a temp dir and read visor.json (before).
Reload the page and wait for frame readiness.
Save state again and read visor.json (after).
🧪 Expected Results
For the three parts, visible, opacity and diffuse_rgb before and after reload equal the values set (opacity within 1e-6, color [1, 0, 0] within 1e-3).
After reload, the tree shows level_1_block_0_part_0 hidden, and the properties panel shows 0.3 and #ff0000 when the other two parts are selected.
Untouched parts keep their metadata opacities.
Same results in CLIENT and SERVER. No unexpected console or page errors.
Negative validation: expecting opacity 0.5 after reload, or skipping step 3, fails on the opacity assertion. Positive and negative reports are attached here.
📁 Test Data
examples/assets/vtk_scene_sphere_l2_b3_r32_v3_c1_z3.vtm and .json (9 parts, metadata opacities 0.111, 0.222, 0.333)
Activity