Commit 721cf953 authored by Yegor's avatar Yegor Committed by GitHub

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

parent fd50ccdd
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment