Reland eliminate timeouts from integration tests (#85141)
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user