From 0050c0ccbfc1db6215666a61486ac5016c780abf Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 28 Jun 2024 12:22:24 -0500 Subject: [PATCH] [net9.0] Bump Appium version to 2.11 (#23338) * Bump Appium version to 2.11 * Update CarouselViewUITests.UpdateCurrentItem.cs --------- Co-authored-by: Shane Neuville --- eng/scripts/appium-install.ps1 | 2 +- .../Tests/Issues/CarouselViewUITests.UpdateCurrentItem.cs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/eng/scripts/appium-install.ps1 b/eng/scripts/appium-install.ps1 index 0e491dcce5cb..87cc3bc6729b 100644 --- a/eng/scripts/appium-install.ps1 +++ b/eng/scripts/appium-install.ps1 @@ -40,7 +40,7 @@ Find the script for that on the DevDiv Azure DevOps instance, Engineering team, param ( - [string] $appiumVersion = '2.5.4', + [string] $appiumVersion = '2.11.0', [string] $windowsDriverVersion = '2.12.23', [string] $androidDriverVersion = '3.5.1', [string] $iOSDriverVersion = '7.16.1', diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/CarouselViewUITests.UpdateCurrentItem.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/CarouselViewUITests.UpdateCurrentItem.cs index e53584645f84..5dbac5cd9da1 100644 --- a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/CarouselViewUITests.UpdateCurrentItem.cs +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/CarouselViewUITests.UpdateCurrentItem.cs @@ -20,10 +20,11 @@ public CarouselViewUpdateCurrentItem(TestDevice device) public void Issue9827Test() { App.WaitForNoElement("Pos:0"); + App.WaitForElement("btnNext"); App.Click("btnNext"); App.WaitForNoElement("Item 1 with some additional text"); App.WaitForNoElement("Pos:1"); } } } -#endif \ No newline at end of file +#endif