2024-04-26
Annotation 1.1.0: Annotation 1.1.0-alpha04
April 26, 2024
androidx.test:annotation:1.1.0-alpha04} is released.
Core 1.6.0: Core Core-ktx 1.6.0-alpha06
April 26, 2024
androidx.test:core:1.6.0-alpha06 and androidx.test:core-ktx:1.6.0-alpha06 are released.
Bug Fixes
- Make ViewCapture use ControlledLooper API instead of hardcoding is Robolectric check
- Fix using ActivityScenario#launchActivityForResult with an implicit Intent
API Changes
- Added ApplicationInfoBuilder.setFlags(int)
- Make suspend function versions of ViewCapture/WindowCapture/DeviceCapture APIs,
and rename existing methods as *Async variants that return ListenableFutures - Make Bitmap.writeToTestStorage use the registered PlatformTestStorage instead of hardcoding TestStorage
- Remove ExperimentalTestApi/RequiresOptIn restrictions from captureToBitmap and takeScreenshot APIs
Espresso 3.6.0: Espresso 3.6.0-alpha04
April 26, 2024
The following artifacts were released:
androidx.test.espresso:espresso-accessibility:3.6.0-alpha04androidx.test.espresso:espresso-core:3.6.0-alpha04androidx.test.espresso:espresso-contrib:3.6.0-alpha04androidx.test.espresso:espresso-idling-resource:3.6.0-alpha04androidx.test.espresso:espresso-intents:3.6.0-alpha04androidx.test.espresso:espresso-remote:3.6.0-alpha04androidx.test.espresso:espresso-web:3.6.0-alpha04androidx.test.espresso.idling:idling-concurrent:3.6.0-alpha04androidx.test.espresso.idling:idling-net:3.6.0-alpha04
Bug Fixes
- Fix slow inRoot operations in Robolectric
- Use PlatformTestStorageRegistry.getInstance consistently instead of passing a reference around
- Remove TODO from InteractionResponse public ref docs
New Features
- Add waitForClose to DrawerActions.
API Changes
- Adapt to ViewCapture API changes
- Delete ViewInteraction.captureToBitmap in favor of ViewActions.captureToBitmap, and promote to a stable API from ExperimentalTestApi
Test:
Test:
Test:
Monitor 1.7.0: monitor 1.7.0-alpha05
April 26, 2024
androidx.test:monitor:1.7.0-alpha05 is released.
API Changes * Make DeviceController an public API from ExperimentalTestApi * Move PlatformTestStorage to a public API * Add internal ControlledLooper#isDrawCallbacksSupported.
Orchestrator 1.5.0: orchestrator 1.5.0-alpha04
April 26, 2024
androidx.test:orchestrator:1.5.0-alpha04 is released.
Runner 1.6.0: runner 1.6.0-alpha07
April 26, 2024
androidx.test:runner:1.6.0-alpha07 is released.
Bug Fixes
- When logging test exceptions, use Log's built-in support for throwables to avoid stack truncation
- Internal changes to support GrantPermissionRule using UiAutomation#grantRuntimePermissions
Rules 1.6.0: rules 1.6.0-alpha04
April 26, 2024
androidx.test:rules:1.6.0-alpha04 is released.
Bug Fixes
- Make GrantPermissionRule use UiAutomation to grant permissions on APIs > =28 to fix issues running on automotive.
Services 1.5.0: services 1.5.0-alpha04
April 26, 2024
androidx.test.services:test-services:1.5.0-alpha04 androidx.test.services:storage:1.5.0-alpha04 are released.
Bug Fixes
- TestStorage: use local cache dir to store output files when running as non system user
API Changes
- Make TestStorage an internal API from experimental