From bbf33f11253912245d37c2ce98f13fb1e2869ca6 Mon Sep 17 00:00:00 2001 From: Julien Gautier Date: Mon, 25 Sep 2023 22:06:58 +0200 Subject: [PATCH] grater than 2 --- integration_test/_extended_test_io.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/integration_test/_extended_test_io.dart b/integration_test/_extended_test_io.dart index 5f16b37..8edff98 100644 --- a/integration_test/_extended_test_io.dart +++ b/integration_test/_extended_test_io.dart @@ -197,9 +197,7 @@ void basicScreenshot(IntegrationTestWidgetsFlutterBinding binding) { final sendIconFinder = find.byIcon(Icons.send); // Not all bundle might be visible, but we can expect to at least see the first 4 of them - expect(tester - .elementList(sendIconFinder) - .length, greaterThan(4)); + expect(tester.elementList(sendIconFinder).length, greaterThan(2)); await tester.tap(sendIconFinder.first); await tester.pumpAndSettle(const Duration(seconds: 1));