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 not work if the simulator or real device's home key is not in bottom(run_loop:4.6.0, calabash-cucumber:0.23.0) #1442

Open
DoubleJ2011 opened this issue Oct 9, 2021 · 0 comments

Comments

@DoubleJ2011
Copy link

DoubleJ2011 commented Oct 9, 2021

Xcode: Version 13.0 (13A233)
ruby: 2.6.8
% calabash-ios version
0.23.0
% curl http://192.168.2.2:37265/version (build from run_loop master branch instead of any tags/released version)
{"device_family":"iPad","outcome":"SUCCESS","server_port":37265,"simulator":"CoreSimulator 776.3 - Device: iPad mini 4 (3CD1C995-6CAC-4481-8CB1-204DBAE417EE) - Runtime: iOS 15.0 (19A339) - DeviceType: iPad mini 4","app_name":"Moxtra","app_version":"7.12.0","screen_dimensions":{"height":2048,"bounds":{"y":0,"x":0,"width":768,"height":1024},"sample":1,"native_bounds":{"y":0,"x":0,"width":1536,"height":2048},"width":1536,"native_scale":2,"bounds_portrait_height":1024,"bounds_portrait_width":768,"scale":2},"git":{"revision":"1c8a897a","remote_origin":"git@github.com:calabash/calabash-ios-server.git","branch":"develop"},"device_name":"iPad mini 4","4inch":false,"app_id":"com.moxo.moxtra-business","form_factor":"ipad","version":"0.23.0","server_identifier_to_skip":"","short_version_string":"7.12","server_identifier":"c335466d9e861645d2f2450dfe17fc95485e070d-dirty","build_date":"2021-12-09 16:18:18 +0800","ios_version":"15.0","iphone_app_emulated_on_ipad":false,"model_identifier":"iPad5,1","app_base_sdk":"iphonesimulator15.0"}

Running like:
bundle cucumber --tags @xxx

if the screen rotate to the mode(rotate_home_button_to :down), then can touch successfully, or will no error but touch seems no UI response.

When query(view1) and query(view2) to compare the positions, the responsed "rect" content is different if the device screen mode is different.

@DoubleJ2011 DoubleJ2011 changed the title touch not work during bundle exec cucumber but is fine by console(run_loop:4.6.0, calabash-cucumber:0.23.0) touch not work if the simulator or real device's home key is not in bottom(run_loop:4.6.0, calabash-cucumber:0.23.0) Oct 15, 2021
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