Gray box end-to-end testing and automation framework for mobile apps
MIT License
Bot releases are hidden (Show)
--debug-synchronization 10000
) - #2595, @noomorphPublished by LeoNatan almost 4 years ago
--debug-synchronization
output for iOS testsThis release repatriates TypeScript definitions from DefinitelyTyped to the official Detox repo. (#2564)
Thanks to:
Published by LeoNatan almost 4 years ago
Fixed crashes with map views on iOS.
Published by LeoNatan almost 4 years ago
Detox now uses a custom synchronization system on iOS, developed in-house; this is the second step in phasing out our Earl Grey usage. We have tested this system extensively internally, and are confident that it should work as expected. There are no known limitations with the new system.
If you are seeing issues with the new sync system, please open an issue.
Important: apps no longer will be launched automatically — use device.launchApp()
.
See the link below for more details.
There was a release error with
17.14.7
. Description here includes changes since17.14.6
Genymotion-cloud
support (WIP).* Marked as beta because the API is still subject to breaking changes.
Published by LeoNatan almost 4 years ago
Fixed a crash with Google Maps SDK on iOS.
It is an alias for [email protected], due to the unsuccessful npm publish
step execution in CI.
Published by LeoNatan almost 4 years ago
Detox now supports Apple Silicon/m1 machines.
Published by d4vidi almost 4 years ago
element.swipe()
signature has been extended (#2432 by @LeoNatan, @noomorph)/*
* @param {'up' | 'down' | 'left' | 'right'} direction - direction to swipe
* @param {'fast' | 'slow'} [speed] - swipe speed
* @param {number} [normalizedSwipeOffset] - swipe amount relative to the screen width/height
* @param {number} [normalizedStartingPointX] - X coordinate of swipe starting point, relative to the view width
* @param {number} [normalizedStartingPointY] - Y coordinate of swipe starting point, relative to the view height
*/
function swipe(
direction,
speed = 'fast',
normalizedSwipeOffset = NaN, // NaN - use optimal value by default
normalizedStartingPointX = NaN, // NaN - use optimal value by default
normalizedStartingPointY = NaN // NaN - use optimal value by default
) {}
Usage:
await element(by.id('someScrollView')).swipe('up');
await element(by.id('someScrollView')).swipe('down', 'slow');
await element(by.id('someScrollView')).swipe('left', 'fast', 0.95);
await element(by.id('someScrollView')).swipe('right', 'slow', NaN, 0.3);
await element(by.id('someScrollView')).swipe('up', 'fast', undefined, 0.5, 0.95);
Published by LeoNatan almost 4 years ago
Added support for matching and interacting with accessibility elements on iOS. Stuff like SwiftUI Text
and Image
should now be matched and interacted with.