Unverified Commit f0aea666 authored by Amir Hardon's avatar Amir Hardon Committed by GitHub

revive the android_views test (#53963)

parent 4bbdca91
......@@ -3,7 +3,6 @@
// found in the LICENSE file.
import 'dart:async';
import 'dart:io' show Platform;
import 'package:flutter_driver/flutter_driver.dart';
import 'package:test/test.dart' hide TypeMatcher, isInstanceOf;
......@@ -20,14 +19,12 @@ Future<void> main() async {
group('MotionEvents tests ', () {
test('recomposition', () async {
if (Platform.isAndroid) {
final SerializableFinder motionEventsListTile =
find.byValueKey('MotionEventsListTile');
await driver.tap(motionEventsListTile);
await driver.waitFor(find.byValueKey('PlatformView'));
final String errorMessage = await driver.requestData('run test');
expect(errorMessage, '');
}
final SerializableFinder motionEventsListTile =
find.byValueKey('MotionEventsListTile');
await driver.tap(motionEventsListTile);
await driver.waitFor(find.byValueKey('PlatformView'));
final String errorMessage = await driver.requestData('run test');
expect(errorMessage, '');
});
});
}
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