fix: analyzer

This commit is contained in:
mso7nueh
2025-10-21 14:07:12 +03:00
parent 4c5532ff32
commit 1841199291
8 changed files with 333 additions and 363 deletions

View File

@@ -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);