Skip to content

Conversation

@shai-almog
Copy link
Collaborator

Summary

  • enable the CN1SS device-runner to persist its log output and emit it alongside screenshots
  • decode the new LOG channel in the Android instrumentation pipeline and store per-test log artifacts
  • add explicit logging around media playback and form readiness to aid screenshot debugging

Testing

  • not run (CI only)

Codex Task

@shai-almog
Copy link
Collaborator Author

shai-almog commented Nov 22, 2025

Android screenshot updates

Compared 6 screenshots: 1 matched, 1 updated, 2 missing references, 2 missing actuals.

  • BrowserComponent — updated screenshot. Screenshot differs (320x616 px, bit depth 8).

    BrowserComponent
    Preview info: JPEG preview quality 70; JPEG preview quality 70.
    Full-resolution PNG saved as BrowserComponent.png in workflow artifacts.

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

    GraphicsPipeline
    Preview info: JPEG preview quality 70; JPEG preview quality 70.
    Full-resolution PNG saved as GraphicsPipeline.png in workflow artifacts.

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

    GraphicsTransformations
    Preview info: JPEG preview quality 70; JPEG preview quality 70.
    Full-resolution PNG saved as GraphicsTransformations.png in workflow artifacts.

  • GraphicsShapesAndGradients — missing actual screenshot. Actual screenshot missing (test did not produce output).

    No preview available for this screenshot.

  • GraphicsStateAndText — missing actual screenshot. Actual screenshot missing (test did not produce output).

    No preview available for this screenshot.

Native Android coverage

  • 📊 Line coverage: 18.22% (1961/10763 lines covered) [HTML preview] (artifact android-coverage-report, jacocoAndroidReport/html/index.html)
    • Other counters: instruction 17.76% (9012/50756), branch 9.74% (459/4714), complexity 12.54% (535/4267), method 25.21% (460/1825), class 25.66% (78/304)
    • Lowest covered classes
      • com.codename1.impl.android.com.codename1.impl.android.AndroidContactsManager – 0.00% (0/398 lines covered)
      • com.codename1.impl.android.com.codename1.impl.android.AndroidImplementation$Video – 0.00% (0/168 lines covered)
      • com.codename1.impl.android.com.codename1.impl.android.IntentIntegrator – 0.00% (0/139 lines covered)
      • com.codename1.impl.android.util.com.codename1.impl.android.util.Base64 – 0.00% (0/117 lines covered)
      • com.codename1.impl.android.com.codename1.impl.android.CodenameOneInputConnection – 0.00% (0/109 lines covered)
      • com.codename1.impl.android.com.codename1.impl.android.AndroidImplementation$SocketImpl – 0.00% (0/77 lines covered)
      • com.codename1.impl.android.com.codename1.impl.android.AndroidTextureView – 0.00% (0/76 lines covered)
      • com.codename1.impl.android.com.codename1.impl.android.AndroidSurfaceView – 0.00% (0/73 lines covered)
      • com.codename1.impl.android.com.codename1.impl.android.LocalNotificationPublisher – 0.00% (0/65 lines covered)
      • com.codename1.impl.android.com.codename1.impl.android.FridaDetectionUtil – 0.00% (0/64 lines covered)

@shai-almog
Copy link
Collaborator Author

shai-almog commented Nov 22, 2025

iOS screenshot updates

Compared 6 screenshots: 2 matched, 4 missing references.

  • GraphicsPipeline — missing reference. Reference screenshot missing at /Users/runner/work/CodenameOne/CodenameOne/scripts/ios/screenshots/GraphicsPipeline.png.

    GraphicsPipeline
    Preview info: Preview provided by instrumentation.
    Full-resolution PNG saved as GraphicsPipeline.png in workflow artifacts.

  • GraphicsShapesAndGradients — missing reference. Reference screenshot missing at /Users/runner/work/CodenameOne/CodenameOne/scripts/ios/screenshots/GraphicsShapesAndGradients.png.

    GraphicsShapesAndGradients
    Preview info: Preview provided by instrumentation.
    Full-resolution PNG saved as GraphicsShapesAndGradients.png in workflow artifacts.

  • GraphicsTransformations — missing reference. Reference screenshot missing at /Users/runner/work/CodenameOne/CodenameOne/scripts/ios/screenshots/GraphicsTransformations.png.

    GraphicsTransformations
    Preview info: Preview provided by instrumentation.
    Full-resolution PNG saved as GraphicsTransformations.png in workflow artifacts.

  • MediaPlayback — missing reference. Reference screenshot missing at /Users/runner/work/CodenameOne/CodenameOne/scripts/ios/screenshots/MediaPlayback.png.

    MediaPlayback
    Preview info: Preview provided by instrumentation.
    Full-resolution PNG saved as MediaPlayback.png in workflow artifacts.

@shai-almog shai-almog closed this Nov 22, 2025
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