Skip to content

Commit

Permalink
chore: Use Tap instead of FastTap
Browse files Browse the repository at this point in the history
  • Loading branch information
eriklimakc committed Sep 27, 2024
1 parent 253cadc commit 23eff83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/ci/scripts/android-uitest-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion testing/TestHarness/TestHarness.UITest/AppExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static Func<IAppQuery, IAppQuery> WaitThenTap(this IApp app, Func<IAppQue
{
app.WaitForElement(query, timeout: timeout);
Console.WriteLine("Tapping element");
app.FastTap(query);
app.Tap(query);

return query;
}
Expand Down

0 comments on commit 23eff83

Please sign in to comment.