Skip to content

test(gui): give the e2e desktop window a 16:9 shape - #380

Merged
fstubner merged 1 commit into
mainfrom
test/gui-e2e-16x9-window
Sep 8, 2026
Merged

test(gui): give the e2e desktop window a 16:9 shape#380
fstubner merged 1 commit into
mainfrom
test/gui-e2e-16x9-window

Conversation

@fstubner

@fstubner fstubner commented Sep 8, 2026

Copy link
Copy Markdown
Owner

DESKTOP_WINDOW was 1000x970 — a ratio of 1.03:1, very nearly square, and no monitor is. The captures came out 1250x1213, so anything displaying them at 16:9 cropped the bottom third: the detail pane, the command strip and the status bar. That's every part of the window a screenshot of a scan is taken for.

Now 1600x900, so captures are 2000x1125 at the harness's 1.25 device pixel ratio — 16:9 exactly.

NARROW_WINDOW is untouched at 520x720. Its shape is the point rather than an oversight: it exercises the responsive breakpoint, and its capture stays 650x900.

Verification

Ran the suite at the new size:

  • exit 0, no assertion errors
  • no alignment drift reported, so nothing in the layout checks depended on the old dimensions
  • all 11 desktop captures are 2000x1125; the narrow one is unchanged
  • eslint clean

DESKTOP_WINDOW was 1000x970, which is 1.03:1 -- very nearly square, and no
monitor is. The captures came out 1250x1213, so anything displaying them at
16:9 cropped the bottom third: the detail pane, the command strip and the
status bar, which is every part of the window a screenshot of a scan is taken
for. Felix hit exactly that reading the artifacts.

1600x900 instead. Captures are now 2000x1125 at the harness's 1.25 device
pixel ratio, which is 16:9 exactly.

NARROW_WINDOW is untouched at 520x720. Its shape is the point rather than an
oversight -- it exists to exercise the responsive breakpoint, and its capture
stays 650x900.

Verified by running the suite at the new size: exit 0, no assertion errors,
and no alignment drift reported, so nothing in the layout checks depended on
the old dimensions. All 11 desktop captures are 2000x1125 and the narrow one
is unchanged. eslint clean.
@fstubner
fstubner merged commit 9dcfcab into main Sep 8, 2026
15 checks passed
@fstubner
fstubner deleted the test/gui-e2e-16x9-window branch September 8, 2026 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant