Skip to content

Conversation

@shai-almog
Copy link
Collaborator

Summary

  • add a BrowserComponent instrumentation test that emits its own CN1SS screenshot stream
  • extend the CN1SS helpers and runner to decode multiple tests, compare against stored references, and post PR comments when screenshots change
  • add a scripts/android/screenshots directory and a PNG comparison utility to ignore metadata differences
  • restore full-resolution screenshot archiving by publishing PNGs as workflow artifacts, encode PR previews as size-capped JPEGs, and add detailed logging and failure markers around PR comment delivery

Testing

  • python3 -m compileall scripts/android/tests

https://chatgpt.com/codex/tasks/task_e_68ee94695b88833195124cff2ce7f8a9

@github-actions
Copy link

Android screenshot updates

  • BrowserComponent — missing reference. Reference screenshot missing at /home/runner/work/CodenameOne/CodenameOne/scripts/android/screenshots/BrowserComponent.png.

    BrowserComponent
    Preview info: Pillow library not available; falling back to PNG previews..
    Full-resolution PNG saved as BrowserComponent.png in workflow artifacts.

@github-actions
Copy link

Android screenshot updates

  • BrowserComponent — missing reference. Reference screenshot missing at /home/runner/work/CodenameOne/CodenameOne/scripts/android/screenshots/BrowserComponent.png.

    BrowserComponent
    Preview info: Pillow library not available; falling back to PNG previews..
    Full-resolution PNG saved as BrowserComponent.png in workflow artifacts.

@github-actions
Copy link

github-actions bot commented Oct 15, 2025

✅ Native Android screenshot tests passed.

@shai-almog shai-almog merged commit 4f479b0 into master Oct 16, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants