mirror of
https://github.com/flutter/flutter
synced 2024-10-13 11:42:54 +00:00
fix a race in tap gesture in the driver extension (#5853)
This commit is contained in:
parent
fd50ccdd95
commit
721cf95300
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue