Unverified Commit 01ac5096 authored by Kate Lovett's avatar Kate Lovett Committed by GitHub

Skip Audit - Last Leftovers (#60940)

parent e110ca72
......@@ -51,7 +51,7 @@ void main() {
await tester.pumpWidget(display);
await expectLater(find.byWidget(display), matchesGoldenFile('test.animation_sheet_builder.records.png'));
}, skip: isBrowser);
}, skip: isBrowser); // https://github.com/flutter/flutter/issues/42767
testWidgets('correctly wraps a row', (WidgetTester tester) async {
final AnimationSheetBuilder builder = AnimationSheetBuilder(frameSize: _DecuplePixels.size);
......@@ -68,7 +68,7 @@ void main() {
await tester.pumpWidget(display);
await expectLater(find.byWidget(display), matchesGoldenFile('test.animation_sheet_builder.wraps.png'));
}, skip: isBrowser);
}, skip: isBrowser); // https://github.com/flutter/flutter/issues/42767
}
// An animation of a yellow pixel moving from left to right, in a container of
......
......@@ -224,7 +224,10 @@ void main() {
expect(find.text('Paste'), findsOneWidget);
expect(find.text('Copy'), findsOneWidget);
expect(find.text('Cut'), findsOneWidget);
}, skip: isBrowser, variant: const TargetPlatformVariant(<TargetPlatform>{ TargetPlatform.iOS }));
},
skip: isBrowser, // We do not use Flutter-rendered context menu on the Web
variant: const TargetPlatformVariant(<TargetPlatform>{ TargetPlatform.iOS }),
);
group('Text selection menu overflow (iOS)', () {
testWidgets('All menu items show when they fit.', (WidgetTester tester) async {
......@@ -275,7 +278,10 @@ void main() {
expect(find.text('Select All'), findsNothing);
expect(find.text('◀'), findsNothing);
expect(find.text('▶'), findsNothing);
}, skip: isBrowser, variant: const TargetPlatformVariant(<TargetPlatform>{ TargetPlatform.iOS }));
},
skip: isBrowser, // We do not use Flutter-rendered context menu on the Web
variant: const TargetPlatformVariant(<TargetPlatform>{ TargetPlatform.iOS }),
);
testWidgets('When a menu item doesn\'t fit, a second page is used.', (WidgetTester tester) async {
// Set the screen size to more narrow, so that Paste can't fit.
......@@ -343,7 +349,10 @@ void main() {
expect(find.text('◀'), findsNothing);
expect(find.text('▶'), findsOneWidget);
expect(appearsEnabled(tester, '▶'), true);
}, skip: isBrowser, variant: const TargetPlatformVariant(<TargetPlatform>{ TargetPlatform.iOS }));
},
skip: isBrowser, // We do not use Flutter-rendered context menu on the Web
variant: const TargetPlatformVariant(<TargetPlatform>{ TargetPlatform.iOS }),
);
testWidgets('A smaller menu puts each button on its own page.', (WidgetTester tester) async {
// Set the screen size to more narrow, so that two buttons can't fit on
......@@ -442,7 +451,10 @@ void main() {
expect(find.text('◀'), findsNothing);
expect(find.text('▶'), findsOneWidget);
expect(appearsEnabled(tester, '▶'), true);
}, skip: isBrowser, variant: const TargetPlatformVariant(<TargetPlatform>{ TargetPlatform.iOS }));
},
skip: isBrowser, // We do not use Flutter-rendered context menu on the Web
variant: const TargetPlatformVariant(<TargetPlatform>{ TargetPlatform.iOS }),
);
testWidgets('Handles very long locale strings', (WidgetTester tester) async {
final TextEditingController controller = TextEditingController(text: 'abc def ghi');
......@@ -557,6 +569,9 @@ void main() {
expect(find.text('◀'), findsNothing);
expect(find.text('▶'), findsOneWidget);
expect(appearsEnabled(tester, '▶'), true);
}, skip: isBrowser, variant: const TargetPlatformVariant(<TargetPlatform>{ TargetPlatform.iOS }));
},
skip: isBrowser, // We do not use Flutter-rendered context menu on the Web
variant: const TargetPlatformVariant(<TargetPlatform>{ TargetPlatform.iOS }),
);
});
}
......@@ -555,5 +555,5 @@ void main() {
find.byWidget(display),
matchesGoldenFile('material.circular_progress_indicator.indeterminate.png'),
);
}, skip: isBrowser);
}, skip: isBrowser); // https://github.com/flutter/flutter/issues/42767
}
......@@ -1124,7 +1124,7 @@ void main() {
await gesture.up();
await tester.pumpAndSettle();
}, skip: isBrowser);
});
testWidgets('Tick marks are skipped when they are too dense', (WidgetTester tester) async {
Widget buildSlider({
......
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