I touch [Flutter]some thoughts for the Flutter (v0.1.0) before. And this time, I tried to run the app with Appium.
We can run UI test with Appium as well as native apps. But Flutter apps have no accessibility identifier and customised resource id. So, it’s quite difficult to implement robust test automation scenario so far.
https://github.com/KazuCocoa/flutter-appium
Probably, Appium is easy to kind of automation than Espresso/XCUITest so far.
[update]
https://github.com/flutter/flutter/issues/17988
[update] Read also: [Flutter]Tests strategy in Flutter
[update] [Appium]Dart client for Appium is also probably interesting.
[update] https://github.com/flutter/flutter/issues/17988#issuecomment-592098514 Good to real the comment
[update] https://appium.io/docs/en/drivers/ios-xcuitest/index.html#accessibility-preferences-fine-tuning may help to enhance accessibility feature on Flutter area. It will help to expand getting element tree on Flutter app.
2 Comments