Skip to content

Update dependency detox to v16.9.2#56

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/detox-16.x
Open

Update dependency detox to v16.9.2#56
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/detox-16.x

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented Mar 12, 2025

This PR contains the following updates:

Package Change Age Confidence
detox 16.0.216.9.2 age confidence

Release Notes

wix/Detox (detox)

v16.9.2

Compare Source

Hotfixes

v16.9.1

Compare Source

Android:

  • Introduce basic, common use-case support for notification-opening mocking, under the existing API for iOS (#​1192). That includes:
    • An explicit notification-based app-launching use cases, with launchApp({ userNotification }).
    • Support for the device.sendUserNotification() API.

v16.9.0

Compare Source

Features

  • [WIP] feat(android): introduce basic support for notification-triggers in device.launchApp() (#​2134, by @​d4vidi)

Fixes

  • fix(jest-circus): reinitialize custom logger on every Environment.setup (#​2139, by @​noomorph)

v16.8.2

Compare Source

Fixes

  • fix(jest-circus): explicit require('detox') should not fail (#​2137)
const { device, expect, /* ... so on ... */ } = require('detox');

v16.8.1

Compare Source

Issues

  • Detox 16.8.0: Hangs when executing tests (#​2129)

Fixes

v16.8.0

Compare Source

New integration with jest-circus (#​2009, by @​noomorph)

The new Detox integration with jest-circus is going to replace the former ones with jest-jasmine2 and jest-circus (aka detoxCircus.getEnv()) as soon as it completes beta testing. The corresponding deprecation notices will be introduced prior to the next major release.

If you are starting a new project, then detox init -r jest command will already equip you with the second generation of detox + jest-circus integration. In existing projects, you will have to create a new e2e/environment.js file and clear clutter from e2e/init.js file (or even delete it) — see the updated Jest guide.

The major highlight of the new integration is #​1661 — you will have ***Failure.png screenshots right after an assertion fails: beforeAllFailure.png, beforeEachFailure.png, testFnFailure.png, etc, depending on where the tests fail. This feature is available only if you use the new DetoxCircusEnvironment.

For internal details, why #​2009 is important, see the description of the pull request.

v16.7.2

Compare Source

Android:

  • Introduced a rundown over Detox' implementation of taps and multi-taps. Specifically, in order to adjust the tap handlers' timers and delays so that they will not accidentally registered as double-taps. (#​2094)

v16.7.1

Compare Source

Fixes
  • hotfix(android): respect --headless option in Mocha and custom runners (#​2086, by @​noomorph)

v16.7.0

Compare Source

Features
  • Detox can be configured via placing external configs in your project folder (#​2050, by @​noomorph). You can anytime extract your "detox" section from package.json into .detoxrc.json or detox.config.json file, to reduce clutter.

  • Added ability to configure DetoxInstruments’ sampling interval by instruments plugin configuration (#​2037, by @​valentynberehovyi)

"detox": {
  "artifacts": {
    "plugins": {
      "instruments": {
        "enabled": true,
+       "samplingInterval": 100
        }
Fixes
  • Scaffolding a project with detox init -r mocha creates e2e/.mocharc.json instead of e2e/.mocharc, because the latter is an undocumented option. (@​avanderberg, thank you for bringing this to our attention)

v16.6.0

Compare Source

Android

We've applied 2 important enhancements associated with the way Detox waits for app-idle (through Espresso):

1. Disabling all native-Android animations on Android emulator

As advised by Google, Android UI tests should system-wide disable all Android animations. In Detox, we've had that overlooked for a while, as it seemed that we could nonetheless figure out a way to have these types of animations synchronized. It appears Google have went to a lot of trouble in disallowing anyone from doing so.
Put in simple words, this evidently means Detox now applies this famous configuration commands-set automatically, when it comes to Emulators:

adb shell settings put global window_animation_scale 0
adb shell settings put global transition_animation_scale 0
adb shell settings put global animator_duration_scale 0

See #​2077 for more details.

2. Increasing the default timeouts for Espresso's idle-policy

We've found by ourselves, alongside some feedback from the community, that on CI, Espresso's defaults for idle-wait can be too harsh. We therefore increased the defaults, but also allowed for custom configurations for those who wish to apply them. See #​2079.

v16.5.1

Compare Source

Fixes
  • Display the exact location of test failure in user code, instead of var possibleError = new Error() (ac5339a).
  • Use .mocharc when possible (#​2070)

To get rid of:

DeprecationWarning: Configuration via mocha.opts is DEPRECATED and will be removed from a future version of Mocha. Use RC files or package.json instead.

convert your mocha.opts file to .mocharc.json according to https://mochajs.org documentation and point runner-config field in package.json to that .mocharc.json file:

{
  "detox": {
    "runner-config": "e2e/.mocharc.json"
  }
}

v16.5.0

Compare Source

  • feat(config): add detox.behavior config to package.json (by @​noomorph, #​2038)
  • fix(logs): handle traces from unknown files (#​2007)

v16.4.1

Compare Source

Note: this release does not contain the Detox-config related work (#​2038, c827545), unlike what the commit log shows. Sorry about that, there was a release error.

v16.4.0

Compare Source

Android:

  • Introduce an alternative implementation to install APK's on emulators (#​2019) -- i.e. so as to avoid using adb install, which appears to have certain issues (i.e. as described in #​1857).
    Can be disabled by by passing new argument to the Detox cli - --force-adb-install, set to true.

v16.3.1

Compare Source

  • fix(android): prevent hanging builds on telnet timeout

v16.3.0

Compare Source

v16.2.1

Compare Source

  • feat: complete support (iOS and Android) for React Native 0.62 (by @​LeoNatan and @​d4vidi)
  • fix(android): resort to soft-failing errors in emulator version detection for skin-cfg patching (by @​d4vidi)

v16.2.0

Compare Source

  • Support for now-stable React Native 0.62 (current latest version is 0.62.2) - #​1996. That also includes:
  • Android fix for multiTap() API -- each tap resulting in a long-tap (same as used to be for plain tap()'s).

v16.1.1

Compare Source

Hotfixes

Fixes detox.cleanup() error if Detox is launched with --cleanup CLI argument.

v16.1.0

Compare Source

Features

Fixes

Miscellaneous


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title chore(deps): update dependency detox to v16.9.2 Update dependency detox to v16.9.2 Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants