Skip to content

Commit

Permalink
test(#670): fix search page tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed Dec 1, 2023
1 parent 8b216c6 commit 692fbde
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/integration_test/search_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ void main() {
),
),
);

expect(find.byType(CircularProgressIndicator), findsOneWidget);
expect(find.byType(CircularProgressIndicator, skipOffstage: false), findsOneWidget);
});

testWidgets('test search page in loaded state', (tester) async {
Expand All @@ -100,9 +99,8 @@ void main() {
),
);
await tester.pumpAndSettle();

expect(
find.byType(DrugCard),
find.byType(DrugCard, skipOffstage: false),
findsNWidgets(loadedDrugs.length),
);
});
Expand Down

0 comments on commit 692fbde

Please sign in to comment.