mobile-dev-inc / maestro

Painless Mobile UI Automation
https://maestro.mobile.dev/
Apache License 2.0
5.88k stars 281 forks source link

Incorrect element locations on iOS 18.1 Simulator #2138

Open BrandonYuen opened 1 week ago

BrandonYuen commented 1 week ago

Is there an existing issue for this?

Steps to reproduce

  1. Spin up a 18.1 iPhone 16 Pro Simulator
  2. maestro studio

Actual results

tapOn doesn't work so I investigated with maestro studio and as you can see below, the element locations (boxes) are incorrect. Screenshot 2024-11-12 at 16 41 36 Screenshot 2024-11-12 at 16 41 46

Expected results

Locations (boxes) of elements should be correct. As a fix I downloaded and installed a iOS 16.4 Simulator which does not have this issue. It's the same exact code and context, just swapped the simulator.

About app

Closed source

About environment

Macbook m4, iOS simulator 18.1

Logs

No response

Maestro version

1.39.1

How did you install Maestro?

install script (https://get.maestro.mobile.dev)

Anything else?

No response

linear[bot] commented 1 week ago

MA-2546 Incorrect element locations on iOS 18.1 Simulator