Skip to content

Releases: sergio-sastre/AndroidUiTestingUtils

2.0.0-rc1

15 Aug 15:28
c509fb0

Choose a tag to compare

Focus on Cross-library screenshot tests:
✅ Support for Android Views!
✅ Support for Accessibility (Roborazzi & Paparazzi)
📈 More library specific configurations supported
🐞 Bug fixes (Roborazzi filePath, Paparazzi environment...)

Breaking changes:
modules :sharedtest-paparazzi and sharedtest-roborazzi are renamed to :mapper-paparazzi and mapper-roborazzi respectively

Some classes have also changed their absolute paths

2.0.0-beta04

23 Jul 11:10
b370290

Choose a tag to compare

Cross-library screenshot tests

  • Support AGP 8.x
  • Fix Dropshot tests not recording/verifying
  • Fix Roborazzi tests not screenshoting Composables inside Launch Effects (e.g. Snackbar)
  • Fix Paparazzi tests with RenderingMode.SHRINK & Orientation.LANDSCAPE, width & height were not properly set

New features

  • View.drawFullScrollableToBitmap(config: Bitmap.Config = Bitmap.Config.ARGB_8888)
    It draws a full scrollable view to Bitmap, even though it goes beyond the activity window.
    Works with all:
    1. On-device screenshot testing libraries (e.g. Dropshots, Shot, etc.)
    2. Robolectric-based screenshot testing libraries (e.g. Roborazzi)

2.0.0-beta03

30 May 21:56
67ffa89

Choose a tag to compare

Focus on Cross-Library screenshot testing:

  • Support for Roborazzi
  • Support for DisplaySize & complex Locales e.g. "sr-Cyrl-RS"
  • Add more options for specific libraries (e.g. backgroundColor)

2.0.0-beta02

29 Apr 19:04
329ef4f

Choose a tag to compare

  • Adds full support for Robolectric: a perfect companion for Roborazzi screenshot tests!
  • Improves supports for "shared screenshot testing"

2.0.0-beta01

13 Mar 23:07

Choose a tag to compare

2.0.0-beta01 Pre-release
Pre-release

Add support for library-agnostic screenshot tests for:

  • Paparazzi
  • Shot
  • Dropshots

1.2.4

22 Feb 16:11
d2b7aa7

Choose a tag to compare

  • Fix InAppLocaleTestRule on API 33+
  • Fix UiAutomation connection errors
  • Fix pseudolocales en_XA & ar_XB not working on API 23

1.2.3

11 Jan 21:44
a07561b

Choose a tag to compare

  1. Bug fixes regarding
  • UiMode: #27,#28
  • ActivityScenarioForViewRule and ActivityScenarioForComposableRule: #29,#30
  1. Add extension methods drawToBitmapWithElevation() to generate bitmaps that consider elevation. Screenshot testing libraries like Dropshots, Facebook and Shot allow to pass such bitmpas to their record/verify methods.

  2. Optimize the size of generated screenshots with waitForMeasuredView/VieHolder/Dialog()methods. This is useful when using libraries that don't take height/width arguments in their record/verify methods, for instance Dropshots.

1.2.2

01 Nov 15:37
8e6fe37

Choose a tag to compare

Focus on bugfixes for Locales:

  • Support for complex locales e.g. "sr-Latn-RS", "sr-Cyrl-RS" or "zh-Latn-TW-pinyin"
  • Fix SystemLocaleTestRule not changing Locale for first test
  • Fix LocaleTestRule not reseting Locale properly after every test
  • Fix ActivityNotFoundException on API 33

1.2.1

04 Oct 21:12
47c211f

Choose a tag to compare

Add support for:

  • Locale in 2 different forms:
    1. App Locale (i.e. per-app language preference)
    2. System Locale
  • Fragments via FragmentScenarioConfigurator
  • Custom themes for Views and Fragments via setTheme()
  • ActivityScenarioConfigurator & FragmentScenarioConfigurator rules for less verbose tests

1.1.2

21 Jun 21:09
0d52122

Choose a tag to compare