-
Notifications
You must be signed in to change notification settings - Fork 370
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
:host strategy cannot type strings with single quotes, but :preferences strategy can. #616
Comments
With this pull request to run loop, calabash/run_loop#82, we get the following behavior (Note: tested on simulators so far, but devices shouldn't be different).
|
To me this is the most natural behavior |
There is a new method used under the hood: |
Should be fixed in 0.11.5.pre3 - #630 Please reopen if you see fit. |
Related to Timeout when typing char that does not exist #605
Workaround
There is no satisfactory workaround. User's will encounter this problem when running tests against iOS 8 devices or when using the non-default :host strategy.
In the short term, this kind of patch will work for most users.
Xcode 6.0.1, Xcode 6.1, Xcode 6.1.1
Using the develop branches of the toolchain: calabash-cucumber, run-loop, and calabash-ios-server.
Any iOS, simulator or device.
Reproduce
Expected
The string to be typed as "Single ' in a string".
Found
Notes
wasn't
Unexpected identifier 't'. Expected ')'
wasn't
wasn\'t
Unexpected identifier 't'. Expected ')'
wasn\'t
wasn\\'t
wasn\\'t
There is this documentation on the wiki [1] that recommends using
escape_quotes
[2]. That documentation was written before the :preferences route existed.The
escape_quotes
is broken for the :preferences strategy; I will create a new issue for this.The text was updated successfully, but these errors were encountered: