Merge pull request 'fix: test fixed' (#1014) from misha/eatvio_app:personalized_feed into personalized_feed

Reviewed-on: eatvio/eatvio_app#1014
This commit is contained in:
2026-08-03 12:32:07 +00:00

View File

@@ -221,7 +221,10 @@ void main() {
await tester.pump();
await tester.pumpAndSettle();
await tester.tap(find.byIcon(Icons.favorite_border_rounded));
final likeIcon = find.byIcon(Icons.favorite_border_rounded);
await tester.ensureVisible(likeIcon);
await tester.pumpAndSettle();
await tester.tap(likeIcon);
await tester.pump();
verify(blogPostCubit.toggleLike()).called(1);