Repository navigation
Open
[User Story]: Verify SERVER rendering mode with parity E2E regressions and a manual test session#240
Story
0 / 60 of 6 issues completed
Copy link
Labels
testWork associated with testing
Description
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 (modify update_variables API to avoid rebuilding the VISOR frontend #236, Bug located in start API after running add_dataset #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: Step 4: remote rendering configuration addition #25 (Step 4: remote rendering configuration addition), epic Remote rendering configuration #15
- Stories under test: [Remote rendering 3.1] Server-authoritative state: per-part visual + variable state #18, [Remote rendering 3.2] Camera state persistence and sync-back #20, [Remote rendering 3.3] Server-authoritative widget state #21, [Remote rendering 3.4] UI panel and theme state authority #22, [Remote rendering 3.5] Server-authoritative color variable lookup tables #23, [Remote rendering 3.6] Save/load end-to-end verification and remove remaining reapply scaffolding #24, [Remote rendering 4.1] Add headless RemoteRenderer and RCA streaming backend #26, [Remote rendering 4.2] Mode selection and remote entrypoint #27, [Remote rendering 4.3] RemoteCanvas frame display and interaction forwarding #28, [Remote rendering 4.4] Live scene refresh upon server-originated operations in remote mode #29, [Remote rendering 4.5] Remote camera interaction end-to-end #30, [Remote rendering 4.6] Viewport resize in REMOTE mode #31, Geometry picking #192
- Related bugs and features: Backward compatibility for client features #191, Bug located in remove_dataset in SERVER mode #220, modify update_variables API to avoid rebuilding the VISOR frontend #236, Bug located in start API after running add_dataset #238
- Test cases: [Test Case]: TC-1 SERVER mode startup: no wasm, first frame and reload #241 (TC-1), [Test Case]: TC-2 Per-part state survives browser refresh in CLIENT and SERVER #242 (TC-2), [Test Case]: TC-3 Canvas interaction drives the server camera and survives refresh #243 (TC-3), [Test Case]: TC-4 Live API scene changes appear without reload in SERVER mode #244 (TC-4), [Test Case]: TC-5 Cross-mode state load and tensor magnitude color map #245 (TC-5, P2), [Test Case]: TC-6 Manual parity walkthrough and exploratory session #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
Sub-issues
Collapse Sub-issuesSub-issues
Loading 6 sub-issues
Metadata
Metadata
Assignees
Labels
testWork associated with testing
Activity