From f7beb40bf1ad802f01da47e552af1bf60fd69e4a Mon Sep 17 00:00:00 2001 From: vyPal <66716025+vyPal@users.noreply.github.com> Date: Fri, 3 May 2024 16:38:59 +0200 Subject: [PATCH] Fix app_test --- integration_test/app_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration_test/app_test.dart b/integration_test/app_test.dart index fa0933b..a7fa901 100644 --- a/integration_test/app_test.dart +++ b/integration_test/app_test.dart @@ -126,7 +126,7 @@ void main() { await tester.tap(find.byType(SwitchListTile).at(1)); await tester.tap(find.byType(SwitchListTile).at(0)); - await tester.tap(find.byType(ElevatedButton)); + await tester.tap(find.byType(ElevatedButton).last); }); testWidgets('Test Message page', (tester) async {