From 463d5cc7a6461dbf584df304fe708aaf909cca3b Mon Sep 17 00:00:00 2001 From: Adam Velebil Date: Wed, 29 Nov 2023 18:31:04 +0100 Subject: [PATCH] fix oath addAccount on Android --- integration_test/utils/oath_test_util.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/integration_test/utils/oath_test_util.dart b/integration_test/utils/oath_test_util.dart index d7318fdf..11718b32 100644 --- a/integration_test/utils/oath_test_util.dart +++ b/integration_test/utils/oath_test_util.dart @@ -131,6 +131,10 @@ extension OathFunctions on WidgetTester { // await enterText(issuerText, generateRandomSecret()); await enterText(secretText, a.secret); await shortWait(); + if (isAndroid) { + FocusManager.instance.primaryFocus?.unfocus(); + await shortWait(); + } if (a.touch != null && a.touch == true) { var requireTouchFilterChip = find.byKey(keys.requireTouchFilterChip).hitTestable();