Ionic & UITest?

Hi @Sujan12,
I am in trouble using Xcode UITest for an ionic app, too, at the moment (see my other post)

As this part is also missing in this nice documentation :wink: --> I guess it is not that easy at all…

What do I do with your code example above, simply paste into my XCTestCase class and use instead of .tap()?

How do you set the accessibility labels in the ionic sources, could you please provide an example for me? My problem is, that my button text might change, so I cannot rely on what becomes the ‘label’, I would like to use another attribute instead, but don’t know how as name and id attributes are ignored…

Am trying to find source code in use of identifying those ionic DOM elements inside of Xcode, but no clue.

I am using ionic, fastlane and fastlane-plugin-ionic as well as fastlane-plugin-ionic_integration, by the way.

Thank you, Anne