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 - 20.17.1

Published by noomorph 9 months ago

What's Changed

  • fix: find *.cjs configs by @noomorph in https://github.com/wix/Detox/pull/4358

    Adds support for .detoxrc.cjs or detox.config.cjs lookup in projects that use explicit CommonJS file extensions.

Full Changelog: https://github.com/wix/Detox/compare/20.17.0...20.17.1

Detox - 20.17.0

Published by gosha212 9 months ago

What's Changed

  • Added support for React Native 0.72.x

Full Changelog: https://github.com/wix/Detox/compare/20.16.0...20.17.0

Detox - 20.16.0

Published by asafkorem 9 months ago

What's Changed?

iOS: Enhanced Device Commands

We're excited to announce the latest updates, focusing on enhancing and fixing device commands for setting permissions and location, with added compliance for iOS 17 (by @asafkorem in https://github.com/wix/Detox/pull/4301).

Fixes:

  • Resolved Permission Regressions on iOS 17: This update addresses permission regressions specific to iOS 17.
  • Restoration of device.setLocation(lat, lon): The functionality of this method is now restored, resolving issues discussed in ASU Issue #111 and other related issues: [1], [2], [3], [4] and more. For more details on setting location, see the set location documentation.

Features:

  • Improved Photos and Contacts Permissions: Introduced support for limited permission settings for photos and contacts. Refer to the launch app permissions documentation for more information.

Migration Notes:

Please upgrade Xcode or Command Line Tools for Xcode to the latest version (15 or newer) for full compatibility with the recent update. You can find the latest Xcode or Command Line Tools for Xcode at Apple Developer Downloads.

Full Changelog: https://github.com/wix/Detox/compare/20.15.0...20.16.0

Detox - 20.15.0

Published by asafkorem 9 months ago

What's Changed

Internal

New Contributors

Full Changelog: https://github.com/wix/Detox/compare/20.14.8...20.15.0

Detox - 20.14.8

Published by asafkorem 10 months ago

What's Changed

iOS

Fixed a regression with custom keyboards on iOS 17 (by @asafkorem in https://github.com/wix/Detox/pull/4318).

Full Changelog: https://github.com/wix/Detox/compare/20.14.7...20.14.8

Detox - 20.14.7

Published by noomorph 10 months ago

What's Changed

Full Changelog: https://github.com/wix/Detox/compare/20.14.6...20.14.7

Detox - 20.14.6

Published by noomorph 10 months ago

What's Changed

This is a release with internal changes.

Early adopters of jest-allure2-reporter integration may find this release interesting – please mind that this integration is not supported officially yet (docs are in progress).

Full Changelog: https://github.com/wix/Detox/compare/20.14.5...20.14.6

Detox - 20.14.5

Published by d4vidi 10 months ago

What's Changed

Android

  • Fixed crash caused by new version of Espresso (3.5.1) by @gosha212 in #4305

Full Changelog: https://github.com/wix/Detox/compare/20.14.4...20.14.5

Detox - 20.14.4

Published by d4vidi 10 months ago

What's Changed

Android

This is a replay of the Android changes made in 20.14.0 (stable, supervised android launch) and were reverted in 20.14.2 -- this time with a fix for the issues described in the PR (@d4vidi in #4303)

Full Changelog: https://github.com/wix/Detox/compare/20.14.3...20.14.4

Detox - 20.14.3

Published by noomorph 10 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/wix/Detox/compare/20.14.2...20.14.3

Detox - 20.14.2

Published by d4vidi 10 months ago

Temporarily reverts

What's Changed

Android

Full Changelog: https://github.com/wix/Detox/compare/20.14.1...20.14.2

Detox - 20.14.1

Published by noomorph 10 months ago

What's Changed

This is a technical and boring release where one particular log message in the detox.trace.json artifact is fixed (conflict-free property name, pid -> cpid).

Full Changelog: https://github.com/wix/Detox/compare/20.14.0...20.14.1

Detox - 20.14.0

Published by d4vidi 10 months ago

First release in a while! πŸ™πŸ»

What's Changed

Android improvements

  • Reimplement Android lunch sequence in a more stable, supervised way + React markers logging - by @d4vidi in #4293

CLI

  • Run test-runner in detached mode - by @noomorph in #4260

Docs Website

  • Various improvements by @IrbisKronos in #4246 #4268, @MattFoley in #4283

New Contributors ❀️

Full Changelog: https://github.com/wix/Detox/compare/20.13.5...20.14.0

Detox - 20.13.5

Published by asafkorem 12 months ago

What's Changed

iOS Fix

Full Changelog: https://github.com/wix/Detox/compare/20.13.4...20.13.5

Detox - 20.13.4

Published by noomorph 12 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/wix/Detox/compare/20.13.3...20.13.4

Detox - 20.13.3

Published by noomorph 12 months ago

What's Changed

Full Changelog: https://github.com/wix/Detox/compare/20.13.2...20.13.3

Detox - 20.13.2

Published by noomorph 12 months ago

What's Changed

Android fixes

New contributors

image

Full Changelog: https://github.com/wix/Detox/compare/20.13.1...20.13.2

Detox - 20.13.1

Published by noomorph about 1 year ago

What's Changed

Android

  • πŸ’₯ "Android API 32, 33 (v12): .tap() acts like tap+hold" (#3762) by @ericschaal via #4216

    ⬆️ This fixes an issue with Detox taps mistakenly registered as tap+hold on newer Android API levels (32+).
    Note: While the tapping issue might be resolved with the patch, there's a known issue with scrolling not working as intended on the new Android API. We're looking for the contributors.

  • βš™οΈ "Something is odd about runScriptWithArgs signature" (#4127) by @noomorph via #4221

    Technically, this fix is a breaking change – it removes the runScriptWithArgs API, but since it never has worked, this should not be an issue. Now, you can use runScript to pass your arguments to the web elements and also get results (provided your function is synchronous):

    const isDisabled = await myWebButton.runScript(btn => btn.disabled);
    await myWebButton.runScript((btn, text) => { btn.textContent = text }, ['New text']);
    

iOS

  • Preserve logs after device.resetContentAndSettings() by @noomorph via #4215

    Fixes a rare condition where the artifacts manager breaks down in the subsequent test after using device.resetContentAndSettings() in the previous one.

New Contributors

image image image

Thanks, @ericschaal, for your first (and very valuable! πŸ† ) contribution in https://github.com/wix/Detox/pull/4216

Thanks, @IrbisKronos, for your second contribution this year, the new social networks ribbon on the website.

Thanks, @monholm, for a tip on how to list available device specs.

Full Changelog: https://github.com/wix/Detox/compare/20.13.0...20.13.1

Detox - 20.13.0

Published by noomorph about 1 year ago

What's Changed

This release brings a new device allocation lifecycle (#4173, @noomorph) – the device management moved to the parent process (as opposed to every child (worker) process before). This is a backwards-compatible change for most of the users, but we recommend custom Detox driver maintainers to check for any issues (cc @awinograd).

  • Fixed -u, --cleanup option. For example, in Jest, devices used to shut down prematurely after each test file. Now they will only shut down after the entire test session (#2894)
  • [Genymotion SaaS] The -R, --retries option functions correctly after initial boot failures (#3655).
  • Fixed race conditions when running multiple detox test... commands at once (#3573)

Technical changes

  • detox reset-lock-file command is no longer needed for 99.9% of cases
  • All the device registries (lock files) have been reduce to a single one
  • The cookie object issued by the allocation driver must be a plain serializable object (NB @awinograd), not an instance of a class

Full Changelog: https://github.com/wix/Detox/compare/20.12.2...20.13.0

Detox - 20.12.2

Published by asafkorem about 1 year ago

What's Changed

Fixes

General

Android

Internal

Full Changelog: https://github.com/wix/Detox/compare/20.12.1...20.12.2

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