From my React-Native app, I'm opening a SafariViewController. I cannot find any way to close it and go back to my app using Detox.
I've tried to search for the "Close" button, and to use tap()
with coordinates but because this seems to be a different activity, it just doesn't work.
I'm wondering if there is any way to actually go back using Detox?
I'd rather not mock this completely for the purpose of the test which wouldn't really make sense..
Thanks!