fix a race in tap gesture in the driver extension (#5853)

This commit is contained in:
Yegor 2016-09-13 14:54:12 -07:00 committed by GitHub
parent fd50ccdd95
commit 721cf95300

View file

@ -181,7 +181,7 @@ class FlutterDriverExtension {
Future<TapResult> _tap(Command command) async {
Tap tapCommand = command;
prober.tap(await _waitForElement(_createFinder(tapCommand.finder)));
await prober.tap(await _waitForElement(_createFinder(tapCommand.finder)));
return new TapResult();
}