Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump roborazzi from 1.5.0-alpha-2 to 1.9.0-alpha-2 #50

Merged
merged 1 commit into from
Dec 28, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 25, 2023

Bumps roborazzi from 1.5.0-alpha-2 to 1.9.0-alpha-2.
Updates io.github.takahirom.roborazzi:roborazzi from 1.5.0-alpha-2 to 1.9.0-alpha-2

Release notes

Sourced from io.github.takahirom.roborazzi:roborazzi's releases.

1.9.0-alpha-2

Bugfix

Fixed a bug in window ordering for screenshots: Windows are now accurately layered by type for more reliable and consistent screenshot results.

What's Changed

Full Changelog: takahirom/roborazzi@1.9.0-alpha-1...1.9.0-alpha-2

1.9.0-alpha-1

New Experimental Features

  • Introduction of captureScreenRoboImage() Function: This function executes screenshot tests that include dialogs on the screen, offering an alternative to the conventional use of Espresso's ViewInteraction or Compose Test's SemanticsNodeInteraction captureRoboImage(). Thank you, @​nelletto, for bringing this issue with dialog screenshots to our attention.

    Before:

    onRoot().captureRoboImage()
    onView(isRoot()).captureRoboImage()

    After:

    captureScreenRoboImage()
  • RoborazziTaskType Property: I developed Roborazzi to facilitate layout viewing during UI tests, addressing the limitations in Robolectric's layout visibility. Initially, Roborazzi couldn't support just viewing layouts during the verification task (roborazziVerifyDebug). Hence, I've introduced a feature allowing task type alteration during test executions.

    onView(ViewMatchers.isRoot())
      .captureRoboImage(
        roborazziOptions = RoborazziOptions(
          taskType = roborazziSystemPropertyTaskType().convertVerifyingToComparing()
        )
      )

Behavior Changes

  • Adjustments for Upcoming Robolectric Shadow Rendering Support: While Robolectric is in the process of introducing technical support for shadow rendering, Roborazzi is adapting its screenshot capture method accordingly. We're shifting towards using the PixelCopy class more extensively instead of relying solely on the View draw method. If you notice any issues with this change, please report them to us. Thank you, @​sergio-sastre, for highlighting the advantages of using PixelCopy.

Bug Fixes

  • Fixed Potential Memory Leak: Addressed a memory leak issue occurring when using compose captureRoboImage{} multiple times within a single test. (Thanks for reporting this @​vetoketju )
  • Resolved File Path Duplication:

... (truncated)

Commits
  • 5e429cc 1.9.0-alpha-2
  • 606b265 Merge pull request #230 from takahirom/takahirom/fix-order-of-windows-by-wind...
  • 04ddf13 Fix order of windows by window type
  • def2a46 1.9.0-alpha-1
  • 481655f Merge pull request #228 from takahirom/takahirom/fix-leak-when-multiple-compo...
  • 394a6c7 Add activityScenario.close() to prevent activity leak
  • 730f2a8 Merge pull request #226 from takahirom/takahirom/fix-document-tag/2023-12-12
  • a865581 Fix document tag
  • 0d64d0e Merge pull request #225 from takahirom/takahirom/add-captureScreenRoboImage/2...
  • 7aae56f Add documents
  • Additional commits viewable in compare view

Updates io.github.takahirom.roborazzi from 1.5.0-alpha-2 to 1.9.0-alpha-2

Release notes

Sourced from io.github.takahirom.roborazzi's releases.

1.9.0-alpha-2

Bugfix

Fixed a bug in window ordering for screenshots: Windows are now accurately layered by type for more reliable and consistent screenshot results.

What's Changed

Full Changelog: takahirom/roborazzi@1.9.0-alpha-1...1.9.0-alpha-2

1.9.0-alpha-1

New Experimental Features

  • Introduction of captureScreenRoboImage() Function: This function executes screenshot tests that include dialogs on the screen, offering an alternative to the conventional use of Espresso's ViewInteraction or Compose Test's SemanticsNodeInteraction captureRoboImage(). Thank you, @​nelletto, for bringing this issue with dialog screenshots to our attention.

    Before:

    onRoot().captureRoboImage()
    onView(isRoot()).captureRoboImage()

    After:

    captureScreenRoboImage()
  • RoborazziTaskType Property: I developed Roborazzi to facilitate layout viewing during UI tests, addressing the limitations in Robolectric's layout visibility. Initially, Roborazzi couldn't support just viewing layouts during the verification task (roborazziVerifyDebug). Hence, I've introduced a feature allowing task type alteration during test executions.

    onView(ViewMatchers.isRoot())
      .captureRoboImage(
        roborazziOptions = RoborazziOptions(
          taskType = roborazziSystemPropertyTaskType().convertVerifyingToComparing()
        )
      )

Behavior Changes

  • Adjustments for Upcoming Robolectric Shadow Rendering Support: While Robolectric is in the process of introducing technical support for shadow rendering, Roborazzi is adapting its screenshot capture method accordingly. We're shifting towards using the PixelCopy class more extensively instead of relying solely on the View draw method. If you notice any issues with this change, please report them to us. Thank you, @​sergio-sastre, for highlighting the advantages of using PixelCopy.

Bug Fixes

  • Fixed Potential Memory Leak: Addressed a memory leak issue occurring when using compose captureRoboImage{} multiple times within a single test. (Thanks for reporting this @​vetoketju )
  • Resolved File Path Duplication:

... (truncated)

Commits
  • 5e429cc 1.9.0-alpha-2
  • 606b265 Merge pull request #230 from takahirom/takahirom/fix-order-of-windows-by-wind...
  • 04ddf13 Fix order of windows by window type
  • def2a46 1.9.0-alpha-1
  • 481655f Merge pull request #228 from takahirom/takahirom/fix-leak-when-multiple-compo...
  • 394a6c7 Add activityScenario.close() to prevent activity leak
  • 730f2a8 Merge pull request #226 from takahirom/takahirom/fix-document-tag/2023-12-12
  • a865581 Fix document tag
  • 0d64d0e Merge pull request #225 from takahirom/takahirom/add-captureScreenRoboImage/2...
  • 7aae56f Add documents
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 25, 2023

The following labels could not be found: version update.

@dependabot dependabot bot force-pushed the dependabot/gradle/roborazzi-1.9.0-alpha-2 branch from 02a3ded to 42fed55 Compare December 28, 2023 01:42
Bumps `roborazzi` from 1.5.0-alpha-2 to 1.9.0-alpha-2.

Updates `io.github.takahirom.roborazzi:roborazzi` from 1.5.0-alpha-2 to 1.9.0-alpha-2
- [Release notes](https://github.com/takahirom/roborazzi/releases)
- [Commits](takahirom/roborazzi@1.5.0-alpha-2...1.9.0-alpha-2)

Updates `io.github.takahirom.roborazzi` from 1.5.0-alpha-2 to 1.9.0-alpha-2
- [Release notes](https://github.com/takahirom/roborazzi/releases)
- [Commits](takahirom/roborazzi@1.5.0-alpha-2...1.9.0-alpha-2)

---
updated-dependencies:
- dependency-name: io.github.takahirom.roborazzi:roborazzi
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.github.takahirom.roborazzi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/gradle/roborazzi-1.9.0-alpha-2 branch from 42fed55 to 8a1dbc7 Compare December 28, 2023 01:42
@azrael8576 azrael8576 merged commit 2e9c863 into main Dec 28, 2023
@dependabot dependabot bot deleted the dependabot/gradle/roborazzi-1.9.0-alpha-2 branch December 28, 2023 01:43
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