Skip to content

Commit

Permalink
Wait for data to load
Browse files Browse the repository at this point in the history
  • Loading branch information
a-mabe committed Jul 28, 2023
1 parent 3360a87 commit fb3e889
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/workout_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ void main() {

// Tap to go to the next page.
await tester.tap(find.byType(ElevatedButton));
await tester.pumpAndSettle();
// await tester.pumpAndSettle();
await tester.pump(const Duration(milliseconds: 500));

expect(find.text(workoutName), findsOneWidget);
});
Expand Down

0 comments on commit fb3e889

Please sign in to comment.