Skip to content

Fix FullPageOS E2E browser screenshots#713

Merged
guysoft merged 1 commit into
develfrom
bugfix/e2e-wait-for-browser-screenshot
Jul 6, 2026
Merged

Fix FullPageOS E2E browser screenshots#713
guysoft merged 1 commit into
develfrom
bugfix/e2e-wait-for-browser-screenshot

Conversation

@guysoft

@guysoft guysoft commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Make the final screenshot hook wait for the FullPageOS dashboard kiosk process before capturing.
  • Capture only the live X display, with no headless Chromium fallback.
  • Require the dashboard iframe/welcome content to visibly paint before accepting screenshot.png, and collect diagnostics when it does not.

Test plan

  • Clean PR branch diff: only testing/hooks/screenshot.sh
  • Built E2E container from a clean worktree: fullpageos-e2e-pr713-minimal
  • Ran FullPageOS E2E against CustomPiOS PR X or GUI freezes #274 image: ghcr.io/guysoft/custompios:pr-274-local
  • Result artifact dir: /home/guy/workspace/FullPageOS/e2e_results/pr713-minimal-20260706-114557
  • exit-code: 0
  • test-results.txt: TEST_RESULT=0
  • Final screenshot shows loaded FullPageOS welcome/dashboard content; paint score std=0.312033

@guysoft
guysoft force-pushed the bugfix/e2e-wait-for-browser-screenshot branch from fab0902 to a603a97 Compare July 6, 2026 08:44
Ensure the final FullPageOS E2E screenshot comes from the live kiosk display after the dashboard iframe has visibly painted, without falling back to headless Chromium.
@guysoft
guysoft force-pushed the bugfix/e2e-wait-for-browser-screenshot branch from a603a97 to b9c76c0 Compare July 6, 2026 08:44
@guysoft
guysoft merged commit 2e3724b into devel Jul 6, 2026
3 checks passed
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