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

touch with UIAlertViewButton on landscape not works #175

Closed
mhaleem opened this issue Mar 12, 2013 · 4 comments
Closed

touch with UIAlertViewButton on landscape not works #175

mhaleem opened this issue Mar 12, 2013 · 4 comments

Comments

@mhaleem
Copy link

mhaleem commented Mar 12, 2013

Hello,

Frank seems to have a problem with "UIAlertView" when orientation is "Landscape", frank inspect also not working, when using dom dumping to check actual values i found that the whole calculations for "UIAlertView" and "UIAlerrtViewButton" not correct at all.

so using touch with "UIAlertViewButton" in Landscape orientation not working at all, currently i used fixed x,y to work around the problem with checking the orientation.

frank-cucumber (1.1.6)

@moredip
Copy link
Owner

moredip commented Mar 20, 2013

Can you add a failing test to the Controls example app in the repo which shows this issue? It will make it easier for someone to work on and fix.

@mhaleem
Copy link
Author

mhaleem commented Apr 8, 2013

Hello, am trying to commit the changes to a new branch but i got permission denied so actually my test was

Then I touch alert button "Button1"

and the step defintion

Then /^I touch alert button "(.*?)"$/ do |label|
selector = %Q|view:'UIAlertButton' marked:'#{label}|
touch(selector)
end

In Landscape it fail to touch the button and not display an error .

@moredip
Copy link
Owner

moredip commented Apr 22, 2013

This should now be fixed, as of gem version 1.1.10 which I just released.

@mhaleem, it would be very helpful if you could confirm that 1.1.10 fixes this.

@moredip moredip closed this as completed Apr 22, 2013
@mhaleem
Copy link
Author

mhaleem commented Apr 23, 2013

i have verified the solution in version 1.1.10 and it works great. thank you very much.

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

No branches or pull requests

2 participants