yarn detox 20.13.1

latest releases: 20.27.7-smoke.0, 20.27.6, 20.27.5...
12 months 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 #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: 20.13.0...20.13.1

Don't miss a new detox release

NewReleases is sending notifications on new releases.