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