Skip test audit for dev tests. (#87147)
This commit is contained in:
parent
1b77fca735
commit
9c3cd40af2
@ -39,6 +39,8 @@ void main() {
|
|||||||
final String symbol = await driver.getText(stockOption);
|
final String symbol = await driver.getText(stockOption);
|
||||||
|
|
||||||
expect(symbol, 'AAPL');
|
expect(symbol, 'AAPL');
|
||||||
}, skip: 'Needs to be fixed on Fuchsia.', timeout: Timeout.none);
|
},
|
||||||
|
skip: 'Needs to be fixed on Fuchsia.', // https://github.com/flutter/flutter/issues/87069
|
||||||
|
timeout: Timeout.none);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -282,7 +282,7 @@ void main() {
|
|||||||
contains('The binary $binPath was not codesigned!'),
|
contains('The binary $binPath was not codesigned!'),
|
||||||
)),
|
)),
|
||||||
);
|
);
|
||||||
}, skip: !platform.isMacOS);
|
}, skip: !platform.isMacOS); // [intended] codesign is only available on macOS
|
||||||
});
|
});
|
||||||
|
|
||||||
group('ArchivePublisher for $platformName', () {
|
group('ArchivePublisher for $platformName', () {
|
||||||
|
@ -17,5 +17,5 @@ void main() {
|
|||||||
expect(expectedName, contains(' '));
|
expect(expectedName, contains(' '));
|
||||||
final List<String> parts = path.split(Directory.current.absolute.path);
|
final List<String> parts = path.split(Directory.current.absolute.path);
|
||||||
expect(parts.reversed.take(3), <String?>['bots', 'dev', expectedName]);
|
expect(parts.reversed.take(3), <String?>['bots', 'dev', expectedName]);
|
||||||
}, skip: true); // https://github.com/flutter/flutter/issues/62919
|
}, skip: true); // https://github.com/flutter/flutter/issues/87285
|
||||||
}
|
}
|
||||||
|
@ -560,9 +560,7 @@ void main() {
|
|||||||
await tester.pumpWidget(MaterialApp(theme: theme, home: const DialogDemo()));
|
await tester.pumpWidget(MaterialApp(theme: theme, home: const DialogDemo()));
|
||||||
await expectLater(tester, meetsGuideline(textContrastGuideline));
|
await expectLater(tester, meetsGuideline(textContrastGuideline));
|
||||||
handle.dispose();
|
handle.dispose();
|
||||||
}, skip: theme == ThemeData.dark()); // Raised Button does not follow
|
});
|
||||||
// theme. https://github.com/flutter/flutter/issues/16488,
|
|
||||||
// https://github.com/flutter/flutter/issues/19623
|
|
||||||
|
|
||||||
testWidgets('drawer_demo $themeName', (WidgetTester tester) async {
|
testWidgets('drawer_demo $themeName', (WidgetTester tester) async {
|
||||||
tester.binding.addTime(const Duration(seconds: 3));
|
tester.binding.addTime(const Duration(seconds: 3));
|
||||||
@ -636,9 +634,7 @@ void main() {
|
|||||||
);
|
);
|
||||||
await expectLater(tester, meetsGuideline(textContrastGuideline));
|
await expectLater(tester, meetsGuideline(textContrastGuideline));
|
||||||
handle.dispose();
|
handle.dispose();
|
||||||
}, skip: theme == ThemeData.dark()); // Raised Button does not follow
|
});
|
||||||
// theme. https://github.com/flutter/flutter/issues/16488,
|
|
||||||
// https://github.com/flutter/flutter/issues/19623
|
|
||||||
|
|
||||||
testWidgets('overscroll_demo', (WidgetTester tester) async {
|
testWidgets('overscroll_demo', (WidgetTester tester) async {
|
||||||
tester.binding.addTime(const Duration(seconds: 3));
|
tester.binding.addTime(const Duration(seconds: 3));
|
||||||
@ -664,9 +660,7 @@ void main() {
|
|||||||
);
|
);
|
||||||
await expectLater(tester, meetsGuideline(textContrastGuideline));
|
await expectLater(tester, meetsGuideline(textContrastGuideline));
|
||||||
handle.dispose();
|
handle.dispose();
|
||||||
}, skip: theme == ThemeData.dark()); // Raised Button does not follow
|
});
|
||||||
// theme. https://github.com/flutter/flutter/issues/16488,
|
|
||||||
// https://github.com/flutter/flutter/issues/19623
|
|
||||||
|
|
||||||
testWidgets('progress_indicator_demo $themeName', (WidgetTester tester) async {
|
testWidgets('progress_indicator_demo $themeName', (WidgetTester tester) async {
|
||||||
tester.binding.addTime(const Duration(seconds: 3));
|
tester.binding.addTime(const Duration(seconds: 3));
|
||||||
@ -724,9 +718,7 @@ void main() {
|
|||||||
);
|
);
|
||||||
await expectLater(tester, meetsGuideline(textContrastGuideline));
|
await expectLater(tester, meetsGuideline(textContrastGuideline));
|
||||||
handle.dispose();
|
handle.dispose();
|
||||||
}, skip: theme == ThemeData.dark()); // Raised Button does not follow
|
});
|
||||||
// theme. https://github.com/flutter/flutter/issues/16488,
|
|
||||||
// https://github.com/flutter/flutter/issues/19623
|
|
||||||
|
|
||||||
testWidgets('tabs_demo $themeName', (WidgetTester tester) async {
|
testWidgets('tabs_demo $themeName', (WidgetTester tester) async {
|
||||||
tester.binding.addTime(const Duration(seconds: 3));
|
tester.binding.addTime(const Duration(seconds: 3));
|
||||||
|
@ -37,5 +37,5 @@ void main() {
|
|||||||
'Embedder',
|
'Embedder',
|
||||||
'GC',
|
'GC',
|
||||||
]));
|
]));
|
||||||
}, skip: isBrowser); // uses dart:isolate and io
|
}, skip: isBrowser); // [intended] uses dart:isolate and io.
|
||||||
}
|
}
|
||||||
|
@ -77,7 +77,7 @@ void main() {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}, skip: isBrowser); // uses dart:isolate and io
|
}, skip: isBrowser); // [intended] uses dart:isolate and io.
|
||||||
}
|
}
|
||||||
|
|
||||||
void _expectTimelineEvents(List<TimelineEvent> events, List<Map<String, dynamic>> expected) {
|
void _expectTimelineEvents(List<TimelineEvent> events, List<Map<String, dynamic>> expected) {
|
||||||
|
@ -74,7 +74,7 @@ void main() {
|
|||||||
jsonEncode(event.extensionData!.data),
|
jsonEncode(event.extensionData!.data),
|
||||||
'{"test.png":{"source":"test.png","displaySize":{"width":200.0,"height":100.0},"imageSize":{"width":300.0,"height":300.0},"displaySizeInBytes":106666,"decodedSizeInBytes":480000}}',
|
'{"test.png":{"source":"test.png","displaySize":{"width":200.0,"height":100.0},"imageSize":{"width":300.0,"height":300.0},"displaySizeInBytes":106666,"decodedSizeInBytes":480000}}',
|
||||||
);
|
);
|
||||||
}, skip: isBrowser); // uses dart:isolate and io
|
}, skip: isBrowser); // [intended] uses dart:isolate and io.
|
||||||
|
|
||||||
test('Image painting events - deduplicates across frames', () async {
|
test('Image painting events - deduplicates across frames', () async {
|
||||||
final Completer<Event> completer = Completer<Event>();
|
final Completer<Event> completer = Completer<Event>();
|
||||||
@ -106,7 +106,7 @@ void main() {
|
|||||||
jsonEncode(event.extensionData!.data),
|
jsonEncode(event.extensionData!.data),
|
||||||
'{"test.png":{"source":"test.png","displaySize":{"width":300.0,"height":300.0},"imageSize":{"width":300.0,"height":300.0},"displaySizeInBytes":480000,"decodedSizeInBytes":480000}}',
|
'{"test.png":{"source":"test.png","displaySize":{"width":300.0,"height":300.0},"imageSize":{"width":300.0,"height":300.0},"displaySizeInBytes":480000,"decodedSizeInBytes":480000}}',
|
||||||
);
|
);
|
||||||
}, skip: isBrowser); // uses dart:isolate and io
|
}, skip: isBrowser); // [intended] uses dart:isolate and io.
|
||||||
}
|
}
|
||||||
|
|
||||||
class TestCanvas implements Canvas {
|
class TestCanvas implements Canvas {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user