yarn detox 21.0.0-rc.2
21.0.0-RC.2

latest releases: 20.26.3-smoke.0, 20.26.2, 20.26.1...
16 months ago

Detox 21 Release Candidate (XCUITest Integration)

We are thrilled to announce the pre-release of Detox v21, marking the beginning of a new era with the integration of Apple's XCUITest framework into Detox-iOS. This significant step forward sets the stage for us to address limitations of our previous implementation and paves the way for a host of new testing features.

What's New?

This release primarily focuses on integrating XCUITest into Detox-iOS. For more details, please see the associated Epic issue #3208.

XCUITest Integration:

The transition to XCUITest's accessibility-based operations will potentially allow Detox to interact with multiple apps, iOS SpringBoard, push notifications, system dialogs, and other system elements without having to inject any dynamic code into the app under test (AUT).

While we're not there yet, the integration of XCUITest marks the first step towards supporting features like:

  • Multiple Apps Flows
  • Real Device Testing
  • Web-View Interactions
  • Unmocked Push Notification Flows
  • System Dialog Interactions

These features will be our next goals in the new Detox-iOS era.

Help Us With Your Feedback

As this is a substantial change to Detox, we are eagerly looking for your feedback. We encourage you to upgrade to this version and let us know if you encounter any issues. If your tests fail or don't work as before, please open a bug report. Your input is crucial for us to understand real-world usage and to continue improving Detox.

How to Test

Testing this version can be done by upgrading your Detox version in your dependencies to 21.0.0-rc.2.

Providing XCUITest Logs

To help us identify any issues, we ask that you provide the XCUITest runner logs when reporting a bug. This data will provide valuable insights to our developers and speed up the resolution process.


Once again, thank you for being part of Detox's journey. Your feedback and contributions are what make Detox an increasingly powerful tool for the developer community.

Don't miss a new detox release

NewReleases is sending notifications on new releases.