diff --git a/integration_test/app_test.dart b/integration_test/app_test.dart index 3e3943f..fee63ed 100644 --- a/integration_test/app_test.dart +++ b/integration_test/app_test.dart @@ -65,11 +65,11 @@ void main() { await tester.pumpAndSettle(); // Debug print to check the UI and role text - tester.allWidgets.forEach((widget) { + for (var widget in tester.allWidgets) { if (widget is Text) { debugPrint('Text widget: ${widget.data}'); } - }); + } // Assuming the role is displayed somewhere we can read // Adjust the role extraction to how your app displays the role