From 23eff83b142cd5f8735d72f1cd08e801ab06765e Mon Sep 17 00:00:00 2001 From: eriklimakc Date: Fri, 27 Sep 2024 17:22:24 +0100 Subject: [PATCH] chore: Use Tap instead of FastTap --- build/ci/scripts/android-uitest-run.sh | 2 +- testing/TestHarness/TestHarness.UITest/AppExtensions.cs | 2 +- .../TestHarness/TestHarness.UITest/Extensions/AppExtensions.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/ci/scripts/android-uitest-run.sh b/build/ci/scripts/android-uitest-run.sh index 1e214fcb94..f9550cb348 100644 --- a/build/ci/scripts/android-uitest-run.sh +++ b/build/ci/scripts/android-uitest-run.sh @@ -52,7 +52,7 @@ then echo "Starting emulator" # Start emulator in background - nohup $ANDROID_HOME/emulator/emulator -avd xamarin_android_emulator -skin 1280x800 -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -prop ro.debuggable=1 > $UNO_UITEST_SCREENSHOT_PATH/android-emulator-log.txt 2>&1 & + nohup $ANDROID_HOME/emulator/emulator -avd xamarin_android_emulator -skin 1280x800 -memory 4096 -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim > /dev/null 2>&1 & touch "$UNO_EMULATOR_INSTALLED" fi diff --git a/testing/TestHarness/TestHarness.UITest/AppExtensions.cs b/testing/TestHarness/TestHarness.UITest/AppExtensions.cs index cd9bece7d6..a7a06aee71 100644 --- a/testing/TestHarness/TestHarness.UITest/AppExtensions.cs +++ b/testing/TestHarness/TestHarness.UITest/AppExtensions.cs @@ -9,7 +9,7 @@ public static async Task TapAndWait(this IApp app, string elementToTap, string e app.WaitElement(elementToTap); //await Task.Delay(UIWaitTimeInMilliseconds); - app.FastTap(elementToTap); + app.Tap(elementToTap); app.WaitElement(elementToWaitFor); //await Task.Delay(UIWaitTimeInMilliseconds); diff --git a/testing/TestHarness/TestHarness.UITest/Extensions/AppExtensions.cs b/testing/TestHarness/TestHarness.UITest/Extensions/AppExtensions.cs index f1de182886..b76a2e53d4 100644 --- a/testing/TestHarness/TestHarness.UITest/Extensions/AppExtensions.cs +++ b/testing/TestHarness/TestHarness.UITest/Extensions/AppExtensions.cs @@ -34,7 +34,7 @@ public static Func WaitThenTap(this IApp app, Func