forked from eatvio/eatvio_app
test: Add basic widget tests for MyDietsTab and MyDietWidget, and integration tests for create_diet.
This commit is contained in:
@@ -326,7 +326,7 @@ void main() {
|
||||
expect(find.byType(DietTypeChoiceWidget), findsOneWidget);
|
||||
expect(find.byType(DietImagePickerWidget), findsOneWidget);
|
||||
// Action buttons
|
||||
expect(find.byType(CustomOutlinedButton), findsNWidgets(3));
|
||||
expect(find.byType(CustomOutlinedButton), findsNWidgets(2));
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user