Unverified Commit 2e36be76 authored by Yegor's avatar Yegor Committed by GitHub

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

parent bbc0cc07
...@@ -67,20 +67,11 @@ const List<String> kWebTestFileBlacklist = <String>[ ...@@ -67,20 +67,11 @@ const List<String> kWebTestFileBlacklist = <String>[
'test/widgets/editable_text_cursor_test.dart', 'test/widgets/editable_text_cursor_test.dart',
'test/widgets/editable_text_test.dart', 'test/widgets/editable_text_test.dart',
'test/material/animated_icons_private_test.dart', 'test/material/animated_icons_private_test.dart',
'test/material/text_form_field_test.dart',
'test/material/data_table_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/nav_bar_transition_test.dart',
'test/cupertino/refresh_test.dart', 'test/cupertino/refresh_test.dart',
'test/cupertino/switch_test.dart',
'test/cupertino/text_field_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/route_test.dart',
'test/cupertino/activity_indicator_test.dart',
]; ];
/// When you call this, you can pass additional arguments to pass custom /// When you call this, you can pass additional arguments to pass custom
......
...@@ -854,7 +854,7 @@ void main() { ...@@ -854,7 +854,7 @@ void main() {
// We must explicitly cause an "up" gesture to avoid a crash. // We must explicitly cause an "up" gesture to avoid a crash.
// todo(mattcarroll) remove this call when #19540 is fixed // todo(mattcarroll) remove this call when #19540 is fixed
await gesture.up(); await gesture.up();
}); }, skip: isBrowser); // https://github.com/flutter/flutter/issues/52960
testWidgets('ScaleTransition animation for showCupertinoDialog()', (WidgetTester tester) async { testWidgets('ScaleTransition animation for showCupertinoDialog()', (WidgetTester tester) async {
await tester.pumpWidget( await tester.pumpWidget(
......
...@@ -303,7 +303,7 @@ void main() { ...@@ -303,7 +303,7 @@ void main() {
await tester.pump(const Duration(milliseconds: 200)); await tester.pump(const Duration(milliseconds: 200));
expect(renderEditable, paintsExactlyCountTimes(#drawRect, 0)); 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 { testWidgets('onTap is called upon tap', (WidgetTester tester) async {
int tapCount = 0; int tapCount = 0;
......
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