flutterdriver

Flutter Driver hangs at splash screen

只愿长相守 提交于 2021-02-11 12:26:35
问题 I am trying to setup Flutter Driver tests for my application and the app runs async so I found https://github.com/flutter/flutter/issues/41029 which says all you need to do is add await driver.waitUntilFirstFrameRasterized(); and it should work, while this does stop the test from failing it nos simply does not run. The app just hangs at the splash screen never even getting into the application itself. As far as I am understanding, this is all I would need to have setup in order for the test

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

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

柔情痞子 提交于 2020-07-23 06:38:38
问题 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

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

给你一囗甜甜゛ 提交于 2020-07-23 06:38:08
问题 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

FlutterDriver - how to close showDialog [duplicate]

亡梦爱人 提交于 2020-05-15 10:23:06
问题 This question already has answers here : How to close Dialog using FlutterDriver (2 answers) Closed 18 days ago . I am working with FlutterDriver, I have an IconButton defined and a key set as shown: Center( child: IconButton( key: Key('moredots'), icon: Icon(Icons.more_vert), onPressed: () { showDialog( context: context, builder: (_) => tableConfig, ); }, ), ) The dialog is successfully shown with the following code: await driver.tap(find.byValueKey('moredots')); What I can't figure out is

FlutterDriver - how to close showDialog [duplicate]

冷暖自知 提交于 2020-05-15 10:21:33
问题 This question already has answers here : How to close Dialog using FlutterDriver (2 answers) Closed 18 days ago . I am working with FlutterDriver, I have an IconButton defined and a key set as shown: Center( child: IconButton( key: Key('moredots'), icon: Icon(Icons.more_vert), onPressed: () { showDialog( context: context, builder: (_) => tableConfig, ); }, ), ) The dialog is successfully shown with the following code: await driver.tap(find.byValueKey('moredots')); What I can't figure out is