From 253cadc8eed89e2c3cbac5ab884e9cc0e5454537 Mon Sep 17 00:00:00 2001 From: eriklimakc Date: Fri, 27 Sep 2024 14:58:03 +0100 Subject: [PATCH] chore: change emulator settings --- build/ci/scripts/android-uitest-run.sh | 2 +- .../Ext/Navigation/Apps/Chefs/Given_Apps_Chefs.cs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/build/ci/scripts/android-uitest-run.sh b/build/ci/scripts/android-uitest-run.sh index f9550cb348..1e214fcb94 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 -memory 4096 -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim > /dev/null 2>&1 & + 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 & touch "$UNO_EMULATOR_INSTALLED" fi diff --git a/testing/TestHarness/TestHarness.UITest/Ext/Navigation/Apps/Chefs/Given_Apps_Chefs.cs b/testing/TestHarness/TestHarness.UITest/Ext/Navigation/Apps/Chefs/Given_Apps_Chefs.cs index 0b5a06cb0d..f2f96e519f 100644 --- a/testing/TestHarness/TestHarness.UITest/Ext/Navigation/Apps/Chefs/Given_Apps_Chefs.cs +++ b/testing/TestHarness/TestHarness.UITest/Ext/Navigation/Apps/Chefs/Given_Apps_Chefs.cs @@ -9,8 +9,7 @@ public async Task When_Chefs_FavoriteRecipes_RecipeDetails() App.WaitThenTap("ShowAppButton"); App.WaitThenTap("NextButton"); - await Task.Delay(10000); - App.WaitThenTap("LoginButton", timeout: TimeSpan.FromSeconds(10)); + App.WaitThenTap("LoginButton"); App.WaitThenTap("FavoriteRecipesButton"); App.WaitThenTap("RecipeDetailsButton"); }