Skip to content

Roborazzi - #819

Open
hannesa2 wants to merge 3 commits into
masterfrom
Roborazzi
Open

Roborazzi#819
hannesa2 wants to merge 3 commits into
masterfrom
Roborazzi

Conversation

@hannesa2

@hannesa2 hannesa2 commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

hannesa2 and others added 3 commits August 6, 2026 13:19
- Add RoborazziTest covering all 9 chart activities (bar, line, pie,
  horizontal bar, bubble, scatter, candle stick, combined, radar)
- Configure Roborazzi plugin with outputDir pointing to src/test/snapshots/
  so reference images are tracked in version control
- Use w411dp-h891dp-420dpi qualifier (~1080x2340px) to avoid exceeding
  Android's 100MB hardware canvas bitmap limit
- Add verifyRoborazziDebug step to the Check CI job with artifact upload

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Run only :chartLib:test in Check job (avoids double-running
  app unit tests since verifyRoborazziDebug covers the app)
- Remove unused roborazzi-junit-rule dependency (RoborazziRule removed)
- Add if-no-files-found: ignore for Roborazzi report artifact
  (reports dir only exists on test failures)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
LineChartActivity uses CUBIC_BEZIER mode and CombinedChartActivity
includes a line dataset. Cubic bezier path rendering involves
floating-point math that produces minor sub-pixel differences between
macOS (local) and Linux (CI), causing flaky verify failures.

A 1% (0.01f) changeThreshold tolerates these platform differences
while still catching real visual regressions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant