maestro icon indicating copy to clipboard operation
maestro copied to clipboard

[Feature Request] Add support for Compose Multiplatform on IOS

Open Alaksion opened this issue 3 months ago • 0 comments

Is your feature request related to a problem? Please describe. I'm working on an app with 6M+ users and we are planning to refactor our E2E tests to achieve better consistency and efficiency. The team found out about Maestro and the tool looks really promising: easy to use, understand and maintain. Our app is written with compose Multiplatform and workflows are working as expected on the Android side, on the other hand, IOS integration is not working as we expected.

Describe the solution you'd like It would be great if there was a way of interacting with the IOS app using finders based on displayed text or accessibility identifiers. Right now it looks like this approach is not working.

Additional context I have created a sample app to simulate the problem I'm having: CMP Sample

Test environment

Maestro version: 1.36.0 Compose Multiplatform version: 1.6.2

Steps to reproduce:

  1. Clone the repository
  2. Install the IOS app in the simulator
  3. Run the sample.yaml workflow inside the maestro folder.
  4. Assert the workflow steps are passing but nothing actually happens in the simulator
  5. Run the workflow on the android app and assert workflows are passing and emulator responds to maestro's actions

As you can see in the sample app repository I tried to force accessibility sync using accessibilitySyncOptions = AccessibilitySyncOptions.Always(null) and it worked partially. With this configuration maestro studio can identify the nodes but cannot interact with them.

Alaksion avatar May 16 '24 17:05 Alaksion