Gray box end-to-end testing and automation framework for mobile apps
MIT License
Published by LeoNatan about 4 years ago
Test input improvements on iOS:
Published by LeoNatan about 4 years ago
Implements a new visibility testing algorithm on iOS, that takes into account possible occluding windows, superviews and keyboard. Should be also considerably faster than before.
Published by noomorph about 4 years ago
Published by noomorph about 4 years ago
Published by d4vidi about 4 years ago
debug-synchronization
is enabled, eventually causing node.js' memory to run out (#2333).Published by LeoNatan about 4 years ago
We've listened to feedback. Interactions on iOS are now much less strict. No more testing for views to see if they are interactive; if a view is visible at the interaction point, the interaction is allowed.
Published by noomorph about 4 years ago
In case if a user was calling node_modules/.bin/detox test ...
, there was an issue:
/bin/sh: jest: command not found
This hotfix release should resolve the issue.
Published by noomorph about 4 years ago
Cannot find module 'jest-cli/build/cli/args'
error, you should add jest-cli
to your package.json
's devDependencies
and re-run npm install
, e.g.: "devDependencies": {
"jest": "25.5.4",
+ "jest-cli": "25.5.4",
'jest' is not recognized as an internal or external command
, please upgrade your detox-cli
global package:npm -g install detox-cli
See some extra details in the Migration Guide.
jest-jasmine
or the legacy Jest Circus integration, follow the Jest setup guide to hop aboard.reactNativeReload
is sent, just send ready (#2317, by @LeoNatan)Published by LeoNatan about 4 years ago
Chaged the percentage
parameter of swipe
to be in screen coordinate space rather than element bounds coordinate space on iOS.
Published by noomorph about 4 years ago
Published by LeoNatan about 4 years ago
by.text()
.Published by d4vidi about 4 years ago
Officially supporting RN 0.63
.
Published by d4vidi about 4 years ago
Android:
Detox.runTests()
(#2231)Published by LeoNatan about 4 years ago
Fixed a crash when internal Detox math would produce nan
, which cannot be serialized as JSON.
Published by d4vidi about 4 years ago
On top of Detox' existing device.takeScreenshot()
API, we now support taking a visual screenshot of specific on-screen elements.
Refer to our documentation for full details.
Note: As a side-effect (see #2214), we introduced a subtle breaking change in all drivers, which affects external plug-in drivers you may have had implemented for your project. The fix is simple, and should be applied according to the following diff-snippet:
class Expect {
- constructor(invocationManager) {
+ constructor({ invocationManager }) {
this._invocationManager = invocationManager;
}
}
class PluginDriver {
constructor() {
- this.matchers = new Expect(new invocationManager());
}
}
-module.exports = PluginDriver;
+module.exports = {
+ DriverClass: PluginDriver,
+ ExpectClass: Expect,
+}
Namely, Detox now owns the instantiation of the Expect
class, instead of the plugin.
--inspect-brk
flag to Detox' cli which, when provided, would launch Detox' underlying test-runner (e.g. Jest, Mocha) in a wait-for-debugger mode (more precisely, it would launch the node.js
instance in inspect mode) (#2177)Published by d4vidi over 4 years ago
Fix a crash related to RN 0.63 on Android (#2210)
Published by noomorph over 4 years ago
Published by LeoNatan over 4 years ago
Improvements to visibility and hit testing and error logging.