Testing tryjob triage (#47893)

This commit is contained in:
Kate Lovett
2019-12-30 09:24:47 -08:00
committed by GitHub
parent 43a8c24344
commit 659dc8129d

View File

@@ -530,6 +530,16 @@ void main() {
findsOneWidget,
);
});
testWidgets('Test for tryjob triage', (WidgetTester tester) async {
await tester.pumpWidget(RepaintBoundary(
child: Container(
color: const Color(0xFF00FF00)
)
));
final Finder finder = find.byType(RepaintBoundary);
await expectLater(finder, matchesGoldenFile('test.tryjob.png'));
});
}
class _MockPaintingContext extends Mock implements PaintingContext {}