Reland eliminate timeouts from integration tests (#85141)

This commit is contained in:
Dan Field
2021-06-23 13:08:51 -07:00
committed by GitHub
parent 568f135a13
commit 9c0bd18c40
46 changed files with 101 additions and 90 deletions

View File

@@ -25,7 +25,7 @@ Future<void> main() async {
expect(errorMessage, '');
final SerializableFinder backButton = find.byValueKey('back');
await driver.tap(backButton);
});
}, timeout: Timeout.none);
group('Nested View Event', () {
setUpAll(() async {
@@ -45,7 +45,7 @@ Future<void> main() async {
await driver.tap(showAlertDialog);
final String status = await driver.getText(find.byValueKey('Status'));
expect(status, 'Success');
});
}, timeout: Timeout.none);
test('Child view can handle touches', () async {
final SerializableFinder addChildView = find.byValueKey('AddChildView');
@@ -56,7 +56,7 @@ Future<void> main() async {
final String nestedViewClickCount =
await driver.getText(find.byValueKey('NestedViewClickCount'));
expect(nestedViewClickCount, 'Click count: 1');
});
}, timeout: Timeout.none);
});
group('Flutter surface switch', () {
@@ -107,6 +107,6 @@ Future<void> main() async {
' |-ViewGroup\n'
' |-FlutterImageView\n' // Flutter UI (overlay surface)
);
});
}, timeout: Timeout.none);
});
}