Skip to content

[Testing]Fix some Flaky UI tests that fails on android #28956

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 14, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ public CarouselViewRemoveAt(TestDevice device)
[Category(UITestCategories.CarouselView)]
public void Issue10300Test()
{
App.WaitForElement("AddMe");
App.Click("AddMe");
App.WaitForElement("DeleteMe");
App.Click("DeleteMe");
App.WaitForElement("CloseMe");
App.Click("CloseMe");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ public Issue10608(TestDevice testDevice) : base(testDevice)
[Category(UITestCategories.Shell)]
public void ShellWithTopTabsFreezesWhenNavigatingFlyoutItems()
{
App.WaitForElement(FlyoutItem6);
App.Tap(FlyoutItem6);
App.WaitForElement("FlyoutItem0");
App.Tap("FlyoutItem0");
for (int i = 0; i < 5; i++)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ public Issue2809(TestDevice testDevice) : base(testDevice)
[Category(UITestCategories.ToolbarItem)]
public void TestPageDoesntCrash()
{
#if ANDROID
App.WaitForElement(AppiumQuery.ByXPath("//android.widget.ImageView[@content-desc=\"More options\"]"));
#endif
App.TapMoreButton();
App.Tap("Item 1");
}
Expand Down
Loading