Skip to content

Commit

Permalink
Update weekplan_screen_test.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
Thuyhaile authored Nov 8, 2023
1 parent 88f5933 commit 158d8cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/screens/weekplan_screen_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ void main() {
await tester.pumpAndSettle();


expect(find.byKey(const Key('TimerInitKey')), findsNothing);
expect(find.byKey(const Key('TimerInitKey')), findsOneWidget);

// ignore: always_specify_types
Future.delayed(const Duration(seconds: 2), () async {
Expand Down Expand Up @@ -1235,11 +1235,11 @@ void main() {
await tester.pumpAndSettle();


expect(find.byKey(const Key('TimerInitKey')), findsNothing);
expect(find.byKey(const Key('TimerInitKey')), findsOneWidget);
await tester.tap(find.byKey(Key(mockWeek.days[0].day.index.toString()
+ mockActivities[2].id.toString())));

expect(find.byKey(const Key('TimerInitKey')), findsNothing);
expect(find.byKey(const Key('TimerInitKey')), findsOneWidget);

// ignore: always_specify_types
Future.delayed(const Duration(seconds: 2), () async {
Expand Down

0 comments on commit 158d8cb

Please sign in to comment.