Skip to content

Commit

Permalink
test(app): fix drug page test after changing table content
Browse files Browse the repository at this point in the history
  • Loading branch information
tamslo committed Sep 19, 2024
1 parent 6a4b09b commit 42509a6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/integration_test/drugs_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,12 @@ void main() {
);

expect(find.text(testDrug.name.capitalize()), findsOneWidget);
expect(find.text(testDrug.annotations.drugclass), findsOneWidget);
expect(
find.textContaining(
testDrug.annotations.drugclass
),
findsOneWidget,
);
expect(find.text(testDrug.annotations.indication), findsOneWidget);
expect(
find.textContaining(
Expand Down

0 comments on commit 42509a6

Please sign in to comment.