Releases: wix/Detox
20.32.0
What's Changed
iOS
React Native New Architecture Support: Added support for React Native's new architecture on iOS. By @asafkorem with significant contribution from @Sky in #4661.
Android support for the new architecture is in progress and coming soon.
Android
Improved Genymotion Integration: Replaced gmsaas auth whoami
with gmsaas doctor
(which performs authentication checks and verifies the adb binary location and execution permissions). By @d4vidi in #4676.
Full Changelog: 20.31.0...20.32.0
20.31.0
What's New
- Support React Native 0.74, 0.75, 0.76 without the new architecture. New architecture is in progress.
What's Changed
Android and iOS
- Support RN 74 by @gosha212 in #4641
- Support RN 75 by @gosha212 in #4649
- Support RN 76 by @gosha212 in #4652
Other
- Documentation significantly improvements
New Contributors
- @kagrawal98 made their first contribution in #4599
- @mustafahsz made their first contribution in #4672
- @itaischuftan made their first contribution in #4673
Full Changelog: 20.28.0...20.31.0
20.28.0
What's Changed
New Feature
- Add support for
device.tap
anddevice.longPress
: direct screen interaction by coordinate—no specific element needed by @gayablau in #4542 🤯📱👈🏼
Improvements
- Improved Detox Copilot with enhanced user assertions, location handling, and date-picker interaction, plus expanded internal test coverage by @LironMShemen in #4623 🙌🏼 ✨
New Contributors
Full Changelog: 20.27.6...20.28.0
20.27.6
What's Changed
iOS Fix
generateViewHierarchyXML
: Clamp Double values before converting to Integer to avoidDouble value cannot be converted to Int because the result would be less than Int.min
error. by @asafkorem in #4621
Full Changelog: 20.27.5...20.27.6
20.27.4
What's Changed
Fixes:
generateViewHierarchyXML
: Renamed thetestID
XML attribute toid
for consistency with theby.id
matcher. #4614 by @asafkoremgenerateViewHierarchyXML
: Fixed an issue that caused a duplicated declaration error during view hierarchy XML generation. #4615 by @asafkorem
Full Changelog: 20.27.3...20.27.4
20.27.2
🚀 Detox Copilot (Beta)
We're thrilled to unveil Detox Copilot—bringing AI-powered magic to your Detox framework! 🎉 Now, you can run tests with human-readable commands powered by LLMs, making your testing more intuitive than ever!
🔥 Key Highlights:
- 🛠️ Simple Setup: Easily initialize Detox Copilot with a custom Prompt Handler for seamless integration into your test suite.
- 🤖 Human-readable Intents: Run actions and assertions straight from natural language commands.
- 💡 Enhanced Abilities: Leverage multimodal-LLM capabilities for visual analysis and more!
💻 Check out the Detox-Copilot repo here, and dive into our test-app demo here.
Full Changelog: 20.26.2...20.27.2
20.26.2
What's Changed
- feat: Add Get UI Hierarchy action by @gosha212 in #4556
- feat(device): refactor and enhance view hierarchy XML generation. by @asafkorem in #4565
- detox-copilot: initial version. by @asafkorem in #4563
- Upgraded dependencies by @gosha212 in #4566
- chore: remove detox-copilot from lerna packages. by @asafkorem in #4569
- Roll back automator version by @gosha212 in #4572
Full Changelog: 20.25.6...20.26.2
20.25.6
What's Changed
Build
- Detox package streamlined, reducing size by
68MB
(80MB
→12MB
). By @asafkorem in #4562.
Full Changelog: 20.25.5...20.25.6
20.25.5
What's Changed
iOS Fix
- Prevent device lock during system interactions: Ensures the app stays active and avoids device locks. by @asafkorem in #4552
Full Changelog: 20.25.3...20.25.5