anchor.diff:    final SizedBox taskBoxWidget = find.byKey(Key(expectedColor.toString())).evaluate().first.widget as SizedBox;
     expect(taskBoxWidget, isNotNull);
   }
  -
  -/// Class for testing interactions on [NavigatorObserver].
  -class MockNavigatorObserver extends Mock implements NavigatorObserver {}
  
positive.code:                 commit: Commit(),
                ),
              ),
              navigatorObservers: <NavigatorObserver>[navigatorObserver],
              routes: <String, WidgetBuilder>{
                AgentDashboardPage.routeName: (BuildContext context) => const AgentDashboardPage(),
              },
  
negative.code:     });
  
      testWidgets('devicelab agent button redirects to agent page', (WidgetTester tester) async {
        await tester.pumpWidget(
          FakeInserter(
            child: MaterialApp(
  