Update dependency detox to v16.9.2#56
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
16.0.2→16.9.2Release Notes
wix/Detox (detox)
v16.9.2Compare Source
Hotfixes
v16.9.1Compare Source
Android:
launchApp({ userNotification }).device.sendUserNotification()API.v16.9.0Compare Source
Features
Fixes
v16.8.2Compare Source
Fixes
v16.8.1Compare Source
Issues
Fixes
v16.8.0Compare Source
New integration with jest-circus (#2009, by @noomorph)
The new Detox integration with
jest-circusis going to replace the former ones withjest-jasmine2andjest-circus(akadetoxCircus.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 jestcommand will already equip you with the second generation ofdetox + jest-circusintegration. In existing projects, you will have to create a newe2e/environment.jsfile and clear clutter frome2e/init.jsfile (or even delete it) — see the updated Jest guide.The major highlight of the new integration is #1661 — you will have
***Failure.pngscreenshots 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 newDetoxCircusEnvironment.For internal details, why #2009 is important, see the description of the pull request.
v16.7.2Compare Source
Android:
v16.7.1Compare Source
Fixes
v16.7.0Compare Source
Features
Detox can be configured via placing external configs in your project folder (#2050, by @noomorph). You can anytime extract your
"detox"section frompackage.jsoninto.detoxrc.jsonordetox.config.jsonfile, 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
detox init -r mochacreatese2e/.mocharc.jsoninstead ofe2e/.mocharc, because the latter is an undocumented option. (@avanderberg, thank you for bringing this to our attention)v16.6.0Compare 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:
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.1Compare Source
Fixes
var possibleError = new Error()(ac5339a).To get rid of:
convert your
mocha.optsfile to.mocharc.jsonaccording to https://mochajs.org documentation and pointrunner-configfield inpackage.jsonto that.mocharc.jsonfile:{ "detox": { "runner-config": "e2e/.mocharc.json" } }v16.5.0Compare Source
v16.4.1Compare Source
v16.4.0Compare Source
Android:
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 totrue.v16.3.1Compare Source
v16.3.0Compare Source
v16.2.1Compare Source
v16.2.0Compare Source
0.62(current latest version is0.62.2) - #1996. That also includes:multiTap()API -- each tap resulting in a long-tap (same as used to be for plaintap()'s).v16.1.1Compare Source
Hotfixes
Fixes
detox.cleanup()error if Detox is launched with--cleanupCLI argument.v16.1.0Compare Source
Features
appNotReady.pngscreenshot if launchApp() fails (#1971, @noomorph)Fixes
detox.init()timeout (#1968, @noomorph)Miscellaneous
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.