Unverified Commit 6b566548 authored by Yegor's avatar Yegor Committed by GitHub

[web] skip more perspective text tests (#111402)

parent 7ad47233
...@@ -1314,19 +1314,23 @@ void main() { ...@@ -1314,19 +1314,23 @@ void main() {
), ),
); );
if (!skipPerspectiveTextGoldens) {
await expectLater( await expectLater(
find.byType(CupertinoTimerPicker), find.byType(CupertinoTimerPicker),
matchesGoldenFile('timer_picker_test.datetime.initial.png'), matchesGoldenFile('timer_picker_test.datetime.initial.png'),
); );
}
// Slightly drag the minute component to make the current minute off-center. // Slightly drag the minute component to make the current minute off-center.
await tester.drag(find.text('59'), Offset(0, _kRowOffset.dy / 2), warnIfMissed: false); // see top of file await tester.drag(find.text('59'), Offset(0, _kRowOffset.dy / 2), warnIfMissed: false); // see top of file
await tester.pump(); await tester.pump();
if (!skipPerspectiveTextGoldens) {
await expectLater( await expectLater(
find.byType(CupertinoTimerPicker), find.byType(CupertinoTimerPicker),
matchesGoldenFile('timer_picker_test.datetime.drag.png'), matchesGoldenFile('timer_picker_test.datetime.drag.png'),
); );
}
}); });
testWidgets('TimerPicker only changes hour label after scrolling stops', (WidgetTester tester) async { testWidgets('TimerPicker only changes hour label after scrolling stops', (WidgetTester tester) async {
......
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