mirror of
https://github.com/foss42/apidash.git
synced 2025-06-25 17:47:02 +08:00
fix: selected icon test
This commit is contained in:
@ -217,7 +217,7 @@ void main() {
|
|||||||
// Verify that the EnvironmentPage is displayed
|
// Verify that the EnvironmentPage is displayed
|
||||||
expect(find.byType(EnvironmentPage), findsOneWidget);
|
expect(find.byType(EnvironmentPage), findsOneWidget);
|
||||||
// Verify that the selected icon is the filled version (selectedIcon)
|
// 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
|
// Go to HistoryPage
|
||||||
container.read(navRailIndexStateProvider.notifier).state = 2;
|
container.read(navRailIndexStateProvider.notifier).state = 2;
|
||||||
|
Reference in New Issue
Block a user