calabash/calabash-ios

Unable to test OAuthlogin with SFSafariViewController

joshuac94 opened this issue · 1 comments

Hi,

I am currently using Calabash-0.21.5 & Xcode-9.2 for Smoke testing my app.
I have an OAuth login flow that presents an SFSafariViewController to enter the user's credentials and login.

Is it possible to access the elements within the SFSafariView to enter the credentials.
I have access to the login page's DOM tree when using Web Dev tools in Chrome.

The actual SafariView has no children, so I cannot access the content within the initial page.
I cannot use the "enter_text" method as the email field has no id.