Skip to content

1.39.0

Compare
Choose a tag to compare
@takahirom takahirom released this 06 Jan 06:49
· 24 commits to main since this release
65fdaeb

Bug Fixes

Diff screenshots are now as large as the largest of the two compared screenshots

Previously, when the size of a screenshot changed (e.g., became smaller), the image diff would not appear because it was based on the minimum size of each screenshot. This has been fixed so that the diff is now based on the largest of the two compared screenshots. Thank you for reporting this issue, @outadoc!

Report HTML's image order is now deterministic

The image order in the HTML report used to be random. Thanks to @mannodermaus, it is now sorted by name.

OpenAiAiAssertionModel is now Gemini compatible

Gemini has a compatibility mode with the OpenAI API (https://ai.google.dev/gemini-api/docs/openai). By using https://generativelanguage.googleapis.com/v1beta/openai/ as the base URL, we can essentially use Gemini. However, some properties are different, so we had to modify the OpenAiAiAssertionModel to be compatible with Gemini.

I'm currently developing another library called Arbigent, an AI agent testing framework. I'm planning to add an AI image assertion feature using Roborazzi's AI-Powered Image Assertion, and I needed this compatibility for that. This isn't directly related to this project, but if you're interested in testing, check it out: https://github.com/takahirom/arbigent

What's Changed

  • [No library update for users] Update dependency androidx.compose.ui:ui-test to v1.7.6 by @renovate in #596
  • [No library update for users] Update JetBrains/writerside-github-action digest to b96c8e6 by @renovate in #561
  • Sort capture results to achieve deterministic order in HTML report by @mannodermaus in #622
  • Refactor buildContextData by @takahirom in #624
  • Show diff when size changed by @takahirom in #625
  • Make OpenAiAiAssertionModel gemini API compatible by @takahirom in #626

Full Changelog: 1.38.0...1.39.0