-
Notifications
You must be signed in to change notification settings - Fork 369
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
iPhone XR and XS Max - issue with device resolutions #1395
Comments
We are investigating possible resolution issues with the 10R and 10S Max. However, we have demonstrated that we can touch 4x4 pixel buttons in our test apps in any orientation on the 10R and 10S Max simulators - we are still waiting for phones. |
That's strange because we also tried this on our simulators and failed. |
Aren't the XR && XS Max using some weird scaling and virtual resolutions (both are considered the same target by xCode for some reason)? |
Currently the only I can see that as the topic starter mentioned, both devices have the same screen resolution as X and XS once tests are being executed, which is weird. And calabash tries to touch elements using those wrong coordinates. |
The X and XS have identical screens, there shouldn't be any new issues there. They don't have the same resolution as the other two iPhone additions though. |
@psstoyanov and @d-konovalov are you writing native apps? As I mentioned, we still don't see any problems testing native apps on these form factors. |
Hi @jmoody |
Check your icons and launch images - make sure you have new assets for the new form factors. |
even if the app is started successfully and works well both on x and xs? |
It has nothing to do with successful launches. The problem is that the application is being displayed in a compatibility (sampled) mode. One reason apps are displayed in compatibility mode is that they do not have the correct image assets - at least this has historically been a reason - we are not sure yet for these form factors. |
I wanted to say that from the user perspective the app works well also. The only trouble happens once calabash tries to touch anything. |
I understand your situation. I want you to understand our situation. At some point we will probably figure out how to handle compatibility display modes for XS Max and XR - we have no way to reproduce at them moment. You can try to figure out the sample factor and update the server yourself. https://github.com/calabash/calabash-ios-server/blob/develop/calabash/Classes/Utils/LPDevice.m#L176 My opinion is that calabash is sending you a signal: your application is not being displayed natively on new form factors. With all that said, maybe I am wrong and there is some sample factor that calabash needs to maintain for these form factors. With the applications that we have, we have not been able to reproduce. |
Hello everybody!
I have just tried to run our tests on the newest simulators
iPhone XR and iPhone XS Max and it was launched and seemed to work but experienced the issue with device resolution (it started to run but when it went to tapping on some element it used wrong location for it and tapped on near one). Let me explain why I think that the issue is related to this. I compared iPhone X where resolution is equal to 1125x2436 pixels and XR (828x1792 pixels), so I was able to use query ("* index:0") for getting the first child element from the whole view and received the same size for some element in pixels. It hasn't to be like that because of different screen sizes (resolutions). To prove that I compared iPhone SE with iPhone 8 where resolutions are not the same and query returned to me different sizes of the chosen element. Please let me know if somebody knows any solution.
Thanks in advance!
By the way, I used calabash-cucumber #0.21.6
The text was updated successfully, but these errors were encountered: