maestro
maestro copied to clipboard
[Feature Request] Add support for Compose Multiplatform on IOS
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:
- Clone the repository
- Install the IOS app in the simulator
- Run the
sample.yaml
workflow inside themaestro
folder. - Assert the workflow steps are passing but nothing actually happens in the simulator
- 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.