I am using Alert from react-native.
How do I get detox to press the \"Log out\" button on the alert message?
I tried using await element(by.te
await element(by.te
It should work with finding element by text
await element(by.text('Log out')).tap();
Demo repo: https://github.com/FDiskas/demonas/blob/c703840a991b2f3d96a18ac8c5120ee1d5f901f8/e2e/firstTest.spec.ts#L11