fix: selected icon test

This commit is contained in:
DenserMeerkat
2024-08-21 16:57:01 +05:30
parent 9b644e0049
commit e7620118f7

View File

@ -217,7 +217,7 @@ void main() {
// Verify that the EnvironmentPage is displayed
expect(find.byType(EnvironmentPage), findsOneWidget);
// Verify that the selected icon is the filled version (selectedIcon)
expect(find.byIcon(Icons.laptop_windows_outlined), findsOneWidget);
expect(find.byIcon(Icons.laptop_windows), findsOneWidget);
// Go to HistoryPage
container.read(navRailIndexStateProvider.notifier).state = 2;