I make automatization react native test with detox, It has the next screen sequence A -> B -> C
and i wish to go back to the screen B <- C.
Is there a solution for this?
Detox is a Javascript-based end-to-end automation testing framework for mobile apps originally developed by Wix, one of the top contributors from React Native community. I was using Detox to write E2E automation tests for mobile apps both on Android and iOS.
There's a testId on the back button, so you can do this:
await element(by.id("header-back")).tap();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With