Repository navigation
test(e2e): layout samples, index-page links, and sturdier picture checks on the panel - #153
Merged
Merged
Conversation
… links, and sturdier picture checks LOXR-828 on the panel (browser 1.5.4): - composition: case 01's tile scrolled into view (at the top of the page every tile is below the fold, so the browser rightly weaves nothing); header modes cycle; the case-05 page modal opens over a tile and dismisses; reports cases the sample marks broken (none). - wall-3d: fast-scroll stress. Right after a 1,894 px scroll, none of the 20 fully visible tiles shows a raw pair or black; 2.5 s later 25 tiles are woven with real stereo pairs. - windows: one weave rect per window (5 photos + video + scene); the video window keeps changing on screen (40.4) where a photo does not (0.9). - `links`: every link on the samples index page must open (27, all 200); a missing page or repo reports 404. Picture-check fixes found on the way: - The service always writes the same three dump names, so a stale copy (from an earlier dump or another tool) could be analysed as this one, or the input copied before it was written. Old copies are cleared first and the test waits for the service's own "wrote" line for each file of THIS submit. - The screen is grabbed at the moment of the dump, so animated pages (a spinning model, a moving call test pattern) compare against what was actually submitted. - A double is a shifted copy of the halves that beats a mirror match by 0.3: a symmetric crate face-on matched 0.83 as a copy but 0.87 as a mirror; the 8 Oct doubles beat the mirror by 0.64-0.72 (15 of 15 labelled grabs still right). - Mixed pages (stereo pictures + live windows) allow identical eyes only on the live windows when nobody is tracked; a 1 px scroll nudge makes a still page submit a frame. Known failure, reported rather than hidden: call-embed with a side-by-side camera shows a "You · 3D" badge but submits the left eye in both halves (0.05-0.10% of pixels differ; the source pair differs on 37.6% at a 40 px shift), where call with openCamera(synthetic) submits a real pair (54%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0122B8TjqkRgdikyu3edTegH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A follow-up to #151, still
test/e2e/samples-panel.e2e.mjs(npm run test:e2e:samples-panel).1. The layout samples on the panel (LOXR-828), browser 1.5.4:
links2. Sturdier picture checks (these apply to every sample):
wroteline for each file of this submit.Full run, unattended, against the live site (14 checks)
callwithopenCamera(synthetic)submits a real pair (54%). It is either<dxr-call>'s auto-detected stereo camera taking a mono path, or a mono self-view by design. That is a question for the SDK.The samples that render live only need two different eyes with
VIEWER=present(someone in front of the panel). Unattended, the runtime gives both eyes one viewpoint.🤖 Generated with Claude Code
https://claude.ai/code/session_0122B8TjqkRgdikyu3edTegH