mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Use runUnsynchronized for android_views test (#99311)
This commit is contained in:
parent
8b95cd6f35
commit
e85ba6eeae
@ -22,7 +22,9 @@ Future<void> main() async {
|
|||||||
final SerializableFinder motionEventsListTile =
|
final SerializableFinder motionEventsListTile =
|
||||||
find.byValueKey('MotionEventsListTile');
|
find.byValueKey('MotionEventsListTile');
|
||||||
await driver.tap(motionEventsListTile);
|
await driver.tap(motionEventsListTile);
|
||||||
await driver.waitFor(find.byValueKey('PlatformView'));
|
await driver.runUnsynchronized(() async {
|
||||||
|
driver.waitFor(find.byValueKey('PlatformView'));
|
||||||
|
});
|
||||||
final String errorMessage = await driver.requestData('run test');
|
final String errorMessage = await driver.requestData('run test');
|
||||||
expect(errorMessage, '');
|
expect(errorMessage, '');
|
||||||
final SerializableFinder backButton = find.byValueKey('back');
|
final SerializableFinder backButton = find.byValueKey('back');
|
||||||
|
Loading…
Reference in New Issue
Block a user