yarn detox 19.2.0

latest releases: 20.23.0-smoke.2, 20.23.0-smoke.1, 20.23.0-smoke.0...
2 years ago

Features

  • Developer experience. Detect pending in-flight requests (#3003, @jonathanmos)
    ⚠️ The feature adds extra logic that prevents forgotten await statements on asynchronous Detox APIs. That’s why you might see a new error like this:
    FAILED
    DetoxRuntimeError: The pending request \#246 ("invoke") has been rejected due to the following error:
    
    Detox has detected multiple interactions taking place simultaneously. Have you forgotten to apply an await over one of the Detox actions in your test code?
    
    That should help you find forgotten awaits in your code that are a potential reason for flakiness in E2E tests. You’ll need to find those places and apply trivial fixes like shown below:
       await screenDriver.performSomeAction();
    -  expect(screenDriver.get.myElement()).toBeNotVisible();
    +  await expect(screenDriver.get.myElement()).toBeNotVisible();
  • Developer experience. Improve atIndex matching message for Android (#3098, @d4vidi)
  • Developer experience. Validate proper app vs. test APK config (#3111, @d4vidi)

Fixes

Typings

Don't miss a new detox release

NewReleases is sending notifications on new releases.