blob: 6e819bf7303238f6350545bce222cbbba57a34fe [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
import 'package:go_router_builder_example/stateful_shell_route_initial_location_example.dart';
void main() {
'Navigate to Notifications section with old tab selected by default',
(WidgetTester tester) async {
await tester.pumpWidget(App());
expect(find.text('Home'), findsOneWidget);
await tester.tap(find.text('Notifications'));
await tester.pumpAndSettle();
expect(find.text('Old notifications'), findsOneWidget);