Skip to content

Commit f98c411

Browse files
committed
Updated tests
1 parent 3e9185a commit f98c411

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/widget_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,22 @@ void main() {
1515
{
1616
testWidgets('Home page loaded', (WidgetTester tester) async {
1717
await tester.pumpWidget(App());
18+
19+
// Verify that the title bar has loaded
1820
expect(find.text('Contacts'), findsOneWidget);
1921
});
2022

2123
testWidgets('Open add user dialog test', (WidgetTester tester) async {
2224
await tester.pumpWidget(App());
2325

26+
// Confirm that the add_user_dialog isn't loaded initially
2427
expect(find.text('Add'), findsNothing);
2528

2629
// Tap the group_add button
2730
await tester.tap(find.byIcon(Icons.group_add));
2831
await tester.pump();
2932

33+
// Confirm that tapping the group_add icon has loaded the add_user_dialog
3034
expect(find.text('Add'), findsOneWidget);
3135
});
3236
});

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy