Releases: wix/Detox
20.20.0
What's Changed
Android Improvements
- Added parity for the element.longPressAndDrag() action, by @gosha212 in #4423
Fixes
Full Changelog: 20.19.5...20.20.0
20.19.5
What's Changed
iOS - Improvements and Fixes
- Simulator (Device) Logs: Now, long device log messages are broken into parts to prevent truncation. By @asafkorem in #4425
- WebView Testing: Implemented a workaround for a selection error on non-text input types. By @asafkorem in #4427
- WebView Testing: Introduced a launch argument to disable WebKit security (
detoxDisableWebKitSecurity
), enhancing testing capabilities (check our Testing WebViews guide for more details). By @asafkorem in #4429
Full Changelog: 20.19.4...20.19.5
20.19.4
What's Changed
Detox 20.x still supports older versions of Node (down to 14.x), and if you've been getting errors like:
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=18". Got "16.20.2"
...this hotfix should resolve your issue. (i.e., The prior version bump to minimum 18.x+ was unintended.)
Nevertheless, make sure to upgrade your Node.js in time. 😉
Full Changelog: 20.19.3...20.19.4
20.19.3
What's Changed
Note
This version introduces several fixes for WebView testing on iOS, following initial feedback on the latest minor release (20.19), where we introduced web APIs on iOS for feature parity with Android. Check our WebView APIs for more information.
iOS Fixes: WebView support
- Inner Frames Interaction: add support for web-view interaction capabilities within inner frames.
- CORS Restrictions Bypass: Implemented a bypass for Cross-Origin Resource Sharing (CORS) restrictions during Detox tests, addressing issues related to inner frames.
- Cursor Position on Typing: resolved an issue to keep the cursor at the end of the text field while typing.
by @asafkorem in #4411
Full Changelog: 20.19.2...20.19.3
20.19.2
What's Changed
iOS
- Fixed an issue where
typeText
in WebViews ignored input's max-length. by @asafkorem in #4407
Full Changelog: 20.19.1...20.19.2
20.19.1
What's Changed
WebView Testing Support on iOS
We've added support for web-view testing on iOS, achieving feature parity with Android (by @asafkorem in #4394).
Check the updated WebView API docs for more details, and our Testing WebViews guide.
Full Changelog: 20.18.5...20.19.1
20.18.5
What's Changed
Android
General
Full Changelog: 20.18.4...20.18.5
Caution
This version requires Java 17 installed, see our Java Setup guide.
Important
Compatibility with Java 11
For users who are currently using Java 11 and are unable to upgrade to Java 17, update your Detox dependency in the app/build.gradle
file to ensure compatibility.
Changes required
Replace the standard Detox dependency in your build.gradle
file with the Detox Java11-compatible version:
- androidTestImplementation('com.wix:detox:+')
+ androidTestImplementation('com.wix:detox-legacy:+')
20.18.4
What's Changed
Fixes
- iOS: fix segfault with Reanimated in DetoxSync (by @tyronet-sportsbet in wix-incubator/DetoxSync#71, #4387)
Full Changelog: 20.18.3...20.18.4