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

iOS 13 not able to dismiss the springboard alert #1421

Open
pvenum889 opened this issue Jan 17, 2020 · 6 comments
Open

iOS 13 not able to dismiss the springboard alert #1421

pvenum889 opened this issue Jan 17, 2020 · 6 comments

Comments

@pvenum889
Copy link

I am trying to dismiss a springboard alert on the client using
device_agent.dismiss_springboard_alert("Continue")
When I checked with device_agent.springboard_alert_visible?
It returned false even when the alert was present on the screen
This always worked and is working with all other versions except for ios 13

@pvenum889
Copy link
Author

The setup used for testing is:

iPad Pro(10.5 inch) (iOS 13.3)
Xcode 10.3
Ruby 2.6.4 (with rbenv)
calabash-cucumber-0.21.10
run_loop-4.3.0
macOS 10.15.2

@jmoody
Copy link
Contributor

jmoody commented Jan 20, 2020

@pvenum889 I need a screenshot of the alert.

@pvenum889
Copy link
Author

@jmoody here you go
Screen Shot 2020-01-21 at 9 21 20 AM

@pvenum889
Copy link
Author

Screen Shot 2020-01-21 at 1 43 34 PM

Also we have a safari view for the login page , and not able to access those elements with device agent

@jmoody
Copy link
Contributor

jmoody commented Jan 22, 2020

Sadly, I will not be able to help beyond offering some advice.

It is possible that this is not a SpringBoard alert. Search the SpringBoard alert titles in DeviceAgent: https://github.com/calabash/DeviceAgent.iOS/tree/develop/Server/Resources.xcassets/springboard-alerts

The Calabash DeviceAgent API seems to be lacking some functionality. Try interacting with query system directly using the http API. Use bundler + run_loop + pry to use ruby to make http requests or use a program like Postman to make queries.

@pvenum889
Copy link
Author

Screen Shot 2020-01-22 at 9 27 26 AM
I find it in the alerts, its weird that it works till 13.1 but not 13.3

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