Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions packages/material_ui/test/time_picker_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
// This file is run as part of a reduced test set in CI on Mac and Windows
// machines.
@Tags(<String>['reduced-test-set'])
@TestOn('!chrome')
library;

import 'dart:async';
Expand Down Expand Up @@ -2354,6 +2353,10 @@ void main() {
);
});

// Skipped on the web because routes pushed with Navigator.restorablePush
// (used by _TimePickerLauncher) are not restorable there: the framework
// can't serialize the route builder without PluginUtilities, so the
// picker dialog is gone after restartAndRestore.
group('Time picker - Restoration (${materialType.name})', () {
testWidgets('Time Picker state restoration test - dial mode', (WidgetTester tester) async {
TimeOfDay? result;
Expand Down Expand Up @@ -2461,7 +2464,7 @@ void main() {
await finishPicker(tester);
expect(result, equals(const TimeOfDay(hour: 6, minute: 45)));
});
});
}, skip: kIsWeb); // [intended] PluginUtilities is not supported on the web.

group('Time picker - emptyInitialInput (${materialType.name})', () {
testWidgets('Fields are empty and show correct hints when emptyInitialInput is true', (
Expand Down
Loading