Capacitor
allows us to code once then generate web, Android
and iOS
applications. Most people using Capacitor
will generate native Android
and iOS
applications.
But strange enough, I can't find any documentation about how to create automated-tests for the two native
applications. I can easily test the web application using protractor
, jasmine
or whatever. But when it comes to native apps, I can't hardly rely on native tooling ( Android Studio
and XCode
) as there are other issues preventing me from testing it easily (ex: no possibility to set Accessibility ID through the views markup, etc).
Where are we at with Capacitor native apps automated-tests?
I believe this is what you are looking for Ionic/capacitor Integrations for Testing
As far as the community/forums and official docs go there are only 3 ways you can test your apks
Even on google there very less info on this topic.. most of the blogs/ articles only say that Ionic/Capacitors can be tested just like a normal WEB App
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.