Android
- Feature. Added adjustSliderToPosition and toHaveSliderPosition (#2888, @jonathanmos)
await element(by.id('slider')).adjustSliderToPosition(0.75);
await expect(element(by.id('slider'))).toHaveSliderPosition(0.75);
await expect(element(by.id('slider'))).toHaveSliderPosition(0.74, 0.1);
- Feature. Added details of network busy resources (#2841, @jonathanmos)
detox[38329] INFO: [APP_STATUS] App synchronization debug:
The app is busy, due to:
- In-flight network activity
Details:
- [http://localhost:9001/delay/3000]
- Performance\Feature. Improved scroll speed and added scrollToIndex (#2854, @jonathanmos)
await element(by.id('scrollView')).scrollToIndex(0);
- Fix. Stabilized emulator shutdown-boot between test suites when using
-u, --cleanup
CLI option (#2892, @noomorph) - Fix. Expand exemption rules related to Kotlin, in proguard-rules-app.pro (#2837 @d4vidi)
General
- Feature. More detailed Detox config trace output (#2910, @noomorph)
- Feature. Added -i option to cli to execute the build command only if the app binary is missing (#2913, @noomorph)
- Fix. Earlier, if booting a device had been failing with an unexpected error, later on, that device was erroneusly considered as "busy" until the very end of such a test session. That resulted in the flooding of new devices, while the boot problem could have been transient. The fix should be especially helpful with
--retries <N>
option (#2900, @noomorph) - Performance. Avoid reinstalls of the same app binaries in multi-app configurations upon device initialization (#2907, @noomorph).