Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16552

Close a SafariViewController from Detox UI tests

$
0
0

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!

enter image description here


Viewing all articles
Browse latest Browse all 16552

Trending Articles