Repository navigation
fix(deps): update screenshot-testing to v1.76.0 - #259
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This PR contains the following updates:
1.75.0→1.76.01.75.0→1.76.01.75.0→1.76.0Release Notes
takahirom/roborazzi (io.github.takahirom.roborazzi)
v1.76.0Compare Source
Bugfix: rebuilding
RoborazziComposeOptionsduplicated optionsA custom
Capturerthat rebuiltparameter.roborazziComposeOptionswith.builder()...build()added options that implement more than one option interface once per interface, doubling on every rebuild. WithManualClockOptions(advanceTimeMillis = 500)the clock advanced 1024 ms instead of 512 ms, so animated previews were captured at the wrong frame without any error.builder()now replays each option exactly once (#950, #951).Thanks to @danielkatfavor for the clear report and reproduction in #948.
Performance:
captureRoboImage(roborazziComposeOptions = ...) { }applies setup options before launching the ActivityWhen you pass
roborazziComposeOptionswith setup options such assize,fontScale,uiMode,localeor device qualifiers, they are now applied beforeRoborazziActivitylaunches, so Robolectric no longer recreates the Activity. For example,size(300, 400)went from 74.7 ms to 37.6 ms per capture in the sample (#943). Calls without these options are unchanged. CustomRoborazziComposeSetupOption.configurenow runs before the launch.Bugfix: generated preview tests compile in explicit API mode
Generated Compose Preview tests now declare explicit visibility, so they compile when explicit API mode applies to test compilations (#945).
What's Changed
Full Changelog: takahirom/roborazzi@1.75.0...1.76.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.