Detox

Gray box end-to-end testing and automation framework for mobile apps

MIT License

Downloads
1.1M
Stars
10.9K
Committers
260

Bot releases are hidden (Show)

Detox - 17.11.3

Published by LeoNatan almost 4 years ago

Fix a crash on iOS when using replaceText()

Detox - 17.11.1

Published by LeoNatan almost 4 years ago

Fixed an issue with UISearchBar layout in iOS 14 and above.

Detox - 17.10.6

Published by d4vidi almost 4 years ago

Fixes (Android)

  • Revert strict mode, disable tap2long-tap validation, for now (#2439)
Detox - 17.10.5

Published by d4vidi almost 4 years ago

Fixes (Android)

  • Introduce strict-mode in tap API's so as to mute strict validations such as of a tap turning into a long-tap (#2438)
Detox - 17.10.4

Published by d4vidi almost 4 years ago

Fixes (Android)

  • Fix minor regression in usage of waitFor()...withTimeout(), caused by 9dd9635f (#2435)
Detox - 17.10.3

Published by d4vidi almost 4 years ago

Fixes

Android

  • Improve content of native errors shown on the JS test runner, so as to make it easier to interpret failures (i.e. minimize reliance on device logs) (#2427)
  • Introduce tap-time verification, so as to informatively fail tap actions which have accidentally turned into long taps (#2423)
Detox - 17.10.2

Published by LeoNatan about 4 years ago

  • Improvements to the visibility detection algorithm on iOS
  • Tests will now fail in cases where setting device orientation is not supported
Detox - 17.10.1

Published by d4vidi about 4 years ago

Android: Significantly increase default native (Espresso) timeouts (#2420)

Detox -

Published by noomorph about 4 years ago

Added support for declarative launch arguments (#2399, @noomorph)

Now you can add default app launch args to any of your device configurations in Detox config:

"type": "ios.simulator",
"device": { "type": "iPhone 11" },
"launchArgs": {
   "detoxPrintBusyIdleResources": "YES",
},

or pass them ad-hoc via CLI or environment variables, e.g.:

  • DETOX_APP_LAUNCH_ARGS="-detoxPrintBusyIdleResources YES" detox test ...
  • detox test ... --app-launch-args "-detoxPrintBusyIdleResources YES"
Detox - 17.9.0

Published by LeoNatan about 4 years ago

Visibility testing algorithm improvements on iOS:

  • Support layer z positions
  • Correctly take layer transforms when drawing
Detox - 17.8.6

Published by LeoNatan about 4 years ago

  • Fix support for scrolling in scroll views with transforms on iOS
  • Fixed cases where some views may not have been discoverable by the matching system
Detox - 17.8.5

Published by d4vidi about 4 years ago

Bugs

  • Fix generation bug, causing overloaded UiDevice.pressKeyCode to malform - rendering it unusable (#2407)

Features

  • Introduce DETOX_ARGV_OVERRIDE as a means for specifying custom Detox arguments globally (#2395)
Detox -

Published by noomorph about 4 years ago

  • Allow -t, --testNamePattern overriding (#2393, @noomorph)
  • Improve unsafe arguments handling: spaces, slashes, etc. (#2396, #2397, #2398, #2403, @noomorph)
Detox - 17.8.3

Published by noomorph about 4 years ago

Fix crashes caused by MKMapView render bugs

Detox - 17.8.1

Published by noomorph about 4 years ago

Fixes issues with typing and keyboard tutorials on iOS.

Detox - 17.8.2

Published by noomorph about 4 years ago

Warn on unsupported Jest versions (#2391, by @noomorph)

Detox - 17.8.0

Published by d4vidi about 4 years ago

  • Introduce a dedicated async-storage Idling-Resource on Android, so as to cover for an idle-check race condition which results in a faulty detection of app idleness while storage is actively being used (#2382)
Detox - 17.7.0

Published by LeoNatan about 4 years ago

  • Fixed crashes on iOS when atIndex() was used with out-of-bounds index
  • Use [44,44] region for hit testing around interaction point, instead of full view visibility requirement
  • Better swipe logic to allow swiping as much as possible (#2331)
Detox - 17.7.1

Published by LeoNatan about 4 years ago

  • Fixed crashes on iOS when atIndex() was used with out-of-bounds index
  • Use [44,44] region for hit testing around interaction point, instead of full view visibility requirement
  • Better swipe logic to allow swiping as much as possible (#2331)
Detox - 17.6.1

Published by LeoNatan about 4 years ago

  • Xcode 12/iOS 14 support
  • Added a visibility debug tool for iOS. Launch app with -detoxDebugVisibility YES argument, and for each view which is deemed not visible, two images will be saved on the user's desktop to demonstrate what is seen on screen, and what Detox tests for visibility.
Package Rankings
Top 0.61% on Npmjs.org
Top 3.86% on Proxy.golang.org
Top 21.46% on Repo1.maven.org
Badges
Extracted from project README
SWUbanner NPM Version NPM Downloads Build status Coverage Status Detox is released under the MIT license PR's welcome! Discord Twitter Follow
Related Projects