Advanced features with Flutter Driver (or Silenium/Ghost Inspector)

浪尽此生 提交于 2020-07-23 06:40:27

问题


Looking for a UI integration test strategy for Flutter. We'd love to use Silenium/Ghost Inspector but seems that is not practical due to lack of html id's or CSS classes in Flutter (Add id or name property or other means of identification for Flutter Web applications?). Or has anyone found a way round that?

In the meantime Flutter Driver has only very basic documentation for simple tests like finding a button and pressing the button. Anyone know if I can do other operations like navigate to a specific page (e.g. using a # url fragment), test a link which leads to an external site, check visual setup of the page against an image, and other such tests which would be standard in Silenium and the like.

Thanks!!


回答1:


Well seems Flutter Driver is still very limited so I have instead found a strategy for using Selenium, posted full details here: Strategy to use Selenium browser testing with Flutter Web apps



来源:https://stackoverflow.com/questions/62615379/advanced-features-with-flutter-driver-or-silenium-ghost-inspector

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!