Enable more material and cupertino tests on the Web (#52961)

This commit is contained in:
Yegor
2020-03-20 11:36:24 -07:00
committed by GitHub
parent bbc0cc07f6
commit 2e36be7691
3 changed files with 2 additions and 11 deletions

View File

@@ -67,20 +67,11 @@ const List<String> kWebTestFileBlacklist = <String>[
'test/widgets/editable_text_cursor_test.dart',
'test/widgets/editable_text_test.dart',
'test/material/animated_icons_private_test.dart',
'test/material/text_form_field_test.dart',
'test/material/data_table_test.dart',
'test/cupertino/dialog_test.dart',
'test/cupertino/nav_bar_test.dart',
'test/cupertino/nav_bar_transition_test.dart',
'test/cupertino/refresh_test.dart',
'test/cupertino/switch_test.dart',
'test/cupertino/text_field_test.dart',
'test/cupertino/date_picker_test.dart',
'test/cupertino/slider_test.dart',
'test/cupertino/text_field_test.dart',
'test/cupertino/segmented_control_test.dart',
'test/cupertino/route_test.dart',
'test/cupertino/activity_indicator_test.dart',
];
/// When you call this, you can pass additional arguments to pass custom

View File

@@ -854,7 +854,7 @@ void main() {
// We must explicitly cause an "up" gesture to avoid a crash.
// todo(mattcarroll) remove this call when #19540 is fixed
await gesture.up();
});
}, skip: isBrowser); // https://github.com/flutter/flutter/issues/52960
testWidgets('ScaleTransition animation for showCupertinoDialog()', (WidgetTester tester) async {
await tester.pumpWidget(

View File

@@ -303,7 +303,7 @@ void main() {
await tester.pump(const Duration(milliseconds: 200));
expect(renderEditable, paintsExactlyCountTimes(#drawRect, 0));
});
}, skip: isBrowser); // we do not use Flutter-rendered context menu on the Web
testWidgets('onTap is called upon tap', (WidgetTester tester) async {
int tapCount = 0;