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

uia_type_string should properly escape the 'backslash' character #284

Closed
jmoody opened this issue Jan 10, 2014 · 1 comment
Closed

uia_type_string should properly escape the 'backslash' character #284

jmoody opened this issue Jan 10, 2014 · 1 comment

Comments

@jmoody
Copy link
Contributor

jmoody commented Jan 10, 2014

reproduced on

to reproduce
requires iOS > 5
requires launching the app with instruments

#1. start a console
$ be rake sim7
#2. launch with Instruments
> start_test_server_in_background
#3. navigate to text tab
> touch_tabbar_item('Text')
#4. make the top text field the first responder
> touch("view marked:'top tf'")
#5. enter this text
> keyboard_enter_text "hello \\ world"
expected

to see "hello \ world" in the top text field

found
"hello  world"
regression

since 0.9.162 - probably since uia_type_string was introduced.

notes

only appears when running with Instruments. this is strictly a problem with escaping the '' character when passing text to uia_type_string.

thanks to [email protected] for reporting

@jmoody
Copy link
Contributor Author

jmoody commented Jan 17, 2014

fixed by pull 291

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

1 participant