Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cbhernan committed Oct 10, 2024
1 parent cc1ed7c commit c492d56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/profile_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void main() {
await tester.pump();

// Dialog preventing user from leaving while editing
await tester.tap(find.byIcon(Icons.menu));
await tester.tap(find.byKey(const Key('menuButton')));
await tester.pumpAndSettle(const Duration(seconds: 5));
await tester.ensureVisible(find.byIcon(Icons.password));
await tester.tap(find.byIcon(Icons.password));
Expand Down Expand Up @@ -131,7 +131,7 @@ void main() {
await tester.pump();

// Dialog with user intention of leaving while editing
await tester.tap(find.byIcon(Icons.menu));
await tester.tap(find.byKey(const Key('menuButton')));
await tester.pumpAndSettle();
await tester.ensureVisible(find.byIcon(Icons.password));
await tester.tap(find.byIcon(Icons.password));
Expand Down

0 comments on commit c492d56

Please sign in to comment.