forked from eatvio/eatvio_app
fix: analyzer
This commit is contained in:
@@ -178,7 +178,7 @@ void main() {
|
||||
|
||||
// Act
|
||||
await tester.tap(find.byKey(AppKeys.recipeCreateScreenAddIngredientButton));
|
||||
await tester.pumpAndSettle();
|
||||
await tester.pump(const Duration(milliseconds: 300));
|
||||
|
||||
// Assert - should show ingredient modal or form
|
||||
expect(find.byKey(AppKeys.recipeCreateScreenIngredientNameField), findsOneWidget);
|
||||
@@ -193,7 +193,7 @@ void main() {
|
||||
|
||||
// Act
|
||||
await tester.tap(find.byKey(AppKeys.recipeCreateScreenAddStepButton));
|
||||
await tester.pumpAndSettle();
|
||||
await tester.pump(const Duration(milliseconds: 300));
|
||||
|
||||
// Assert - should show additional step field
|
||||
expect(find.byKey(AppKeys.recipeCreateScreenStepDescriptionField), findsAtLeastNWidgets(2));
|
||||
@@ -209,7 +209,7 @@ void main() {
|
||||
// Act
|
||||
await tester.enterText(find.byKey(AppKeys.recipeCreateScreenTagField), testTag);
|
||||
await tester.tap(find.byKey(AppKeys.recipeCreateScreenAddTagButton));
|
||||
await tester.pumpAndSettle();
|
||||
await tester.pump(const Duration(milliseconds: 300));
|
||||
|
||||
// Assert - should show the added tag
|
||||
expect(find.text(testTag), findsOneWidget);
|
||||
|
||||
Reference in New Issue
Block a user