Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to test OAuthlogin with SFSafariViewController #1387

Open
joshuac94 opened this issue Jul 16, 2018 · 1 comment
Open

Unable to test OAuthlogin with SFSafariViewController #1387

joshuac94 opened this issue Jul 16, 2018 · 1 comment

Comments

@joshuac94
Copy link

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.

@jmoody
Copy link
Contributor

jmoody commented Jul 17, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants