Releases: wix/Detox
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 detox@20.19.3: 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
20.18.3
20.18.2
20.18.1
20.18.0
What's Changed
Enhancements
Support for React Native 7️⃣ 3️⃣ 🥳 (#4347 by @gosha212)
Tip
It is recommended to upgrade to Java17 all-around, as it is now the standard in Android development and somewhat imposed by the 0.73 version of React Native.
Fixes
Full Changelog: 20.17.1...20.18.0