Closed skriptly closed 1 month ago
Hi @skriptly
This is not something that we can offer much help with, I'm afraid. This library does not provide any specific helpers for testing in-app modals using Detox.
I would suggest you ask this question on the Detox Discord or the Detox Repo.
Issue
I am trying to write end-to-end tests using Detox for my React Native app, which incorporates an in-app browser through the react-native-app-auth for handling OAuth login flows. However, I am having difficulty interacting with this in-app browser, particularly for filling out login forms and clicking buttons
I attempted to locate elements within the in-app browser using Detox’s standard by.id, by.text, and other element selectors, but Detox does not seem to recognize elements.
Questions
Is there a known way to interact with in-app browsers in Detox? Does Detox currently support interacting with in app browsers in this context?
Environment
both
react-native
Version:0.75.2
react-native-app-auth
Version:7.1.0
yes