Skip to content

test: add title-bar platform verification matrix - #511

Merged
khaira777 merged 12 commits into
mainfrom
fm/flocafe-457-slice3-platform-matrix
Aug 24, 2026
Merged

khaira777 merged 12 commits into
mainfrom
fm/flocafe-457-slice3-platform-matrix

Conversation

@khaira777

@khaira777 khaira777 commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #457
Fixes #462

Intent

Execute and document the custom title-bar platform matrix for the #457/#462 remainder. The matrix records each requested cell as PASS-verified or NOT-RUN with a reason and evidence link; it does not overclaim hidden configuration checks as visible rendering or direct IPC proof.

What changed

  • Added docs/title-bar-platform-matrix.md with Windows, Linux, macOS, browser/LAN, RTL, and sidebar-offset results.
  • Added multi-viewport Playwright coverage for POS, settings, and the standalone KDS origin at 1024x768, 1440x900, and 1920x1080, including asserted expanded/collapsed sidebar state transitions.
  • Added a real-Electron runtime probe for title-bar mode resolution, fallback option shape, visible window-manager action checks, and real macOS BrowserWindow constructor observation of hiddenInset/traffic-light options.
  • Added hosted Windows contract/probe workflow coverage. Linux packaged-AppImage evidence was run on the approved Debian GNOME machine under a dedicated Xvfb display with TMPDIR and runtime extraction inside ~/flocafe-matrix-tmp.

Verification

  • macOS runtime probe: 14/14, including fullscreen enter/exit.
  • Browser/LAN title-bar and sidebar Playwright matrix: 2/2 on isolated task-local ports; KDS expanded/collapsed coverage uses E2E_KDS_BASE_URL/kds.
  • Focused title-bar/window-readiness/preload contract suites, RTL suites, backend build, frontend build, and lint passed.
  • Linux AppImage health assertion: status=ok, db=ok; startup log and XWD evidence are committed under docs/images/title-bar-platform-matrix/.
  • The no-mistakes follow-up pipeline completed review, tests, documentation, lint, push, PR, and CI gates before the final narrow KDS/macOS evidence follow-up.

Explicit NOT-RUN cells and findings

  • Windows native visual overlay pixels, drag-region pointer interaction, Snap Layouts hover, double-click caption maximize, and per-DPI visual sessions were not run; hosted assertions cover configuration only.
  • Linux live fallback-renderer IPC round-trip was not run; the helper/preload contract passes, but the packaged run was native-overlay and Xvfb had no window manager.
  • Wayland-specific run was not started to avoid touching the existing GNOME desktop session.
  • macOS kiosk mode is NOT-RUN because FloCafe has no kiosk implementation.
  • In the packaged Linux AppImage, React hydration error fix(printer): allow about:blank popups and auto-fallback to browser print when no hardware printer is configured #418 on setup/auth routes prevented renderer readiness confirmation; the existing fail-safe showed the window after the bounded timeout. Plain browser/LAN did not reproduce it. This is documented as a product finding, not silently fixed.

@greptile-apps

greptile-apps Bot commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR adds a documented title-bar platform verification matrix and supporting Windows, Electron, and browser test coverage.

  • Adds a Windows workflow and cross-platform Electron runtime probe.
  • Records Linux AppImage, macOS, browser/LAN, and sidebar-geometry results.
  • Strengthens KDS route/state coverage and verifies macOS constructor options through the real window-option path.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
frontend/e2e/title-bar-platform.spec.ts Adds multi-viewport browser and sidebar checks; the KDS origin correctly serves the dashboard KDS export required by the sidebar assertions.
tests/platform-titlebar-runtime-probe.cjs Adds real-Electron platform checks and now captures macOS options passed through the production window-construction helper.
main/window-options.ts Exports the existing macOS traffic-light position so the runtime probe can validate the actual constructed options.
.github/workflows/title-bar-platform-matrix.yml Adds a pull-request/manual Windows job that builds the backend and runs title-bar contracts plus the Electron probe.
docs/title-bar-platform-matrix.md Documents platform results, evidence boundaries, environment limitations, and known findings without changing product behavior.

Reviews (3): Last reviewed commit: "docs: classify supplementary screenshot ..." | Re-trigger Greptile

Comment thread frontend/e2e/title-bar-platform.spec.ts Resolved
@khaira777

Copy link
Copy Markdown
Contributor Author

Addressed the two Greptile P1 findings in the follow-up commits:

  • KDS sidebar geometry now targets the standalone KDS origin at E2E_KDS_BASE_URL/kds, with explicit expanded/collapsed data-state and data-collapsible assertions at 1024x768, 1440x900, and 1920x1080. The focused Playwright matrix passes 2/2 on isolated ports.
  • The macOS probe now constructs a real Electron BrowserWindow through an observing subclass and asserts the actual constructor options (hiddenInset and {x:16,y:14}), rather than comparing only a source constant. The local fullscreen probe passes 14/14.

The matrix/docs classify visual-only and live-fallback-IPC cells as NOT-RUN where they are not observed, preserve the Linux hydration finding, and include Fixes #457 / Fixes #462 in this PR body.

@khaira777
khaira777 merged commit 680a8f6 into main Aug 24, 2026
14 checks passed
@khaira777
khaira777 deleted the fm/flocafe-457-slice3-platform-matrix branch August 24, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant