Skip to content

Commit 5455104

Browse files
[Testing] Fix for flaky UITests in CI that occasionally fail - 8 (#28828)
* improve stability to flaky test * Update Issue7678.cs
1 parent 1f5da58 commit 5455104

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed
194 KB
Loading

src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Bugzilla/Bugzilla34912.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@ public Bugzilla34912(TestDevice testDevice) : base(testDevice)
1717
[Category(UITestCategories.ListView)]
1818
public void Bugzilla34912Test()
1919
{
20+
App.WaitForElement("Allen");
2021
App.Tap("Allen");
2122
App.WaitForElement("You tapped Allen");
23+
App.WaitForElement("OK");
2224
App.Tap("OK");
25+
App.WaitForElement("Disable ListView");
2326
App.Tap("Disable ListView");
27+
App.WaitForElement("Allen");
2428
App.Tap("Allen");
2529
App.WaitForNoElement("You tapped Allen");
2630
}

src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/XFIssue/Issue7678.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public Issue7678(TestDevice device) : base(device)
1515
[Category(UITestCategories.CarouselView)]
1616
public void VerifyCarouselViewItemsRenderAfterBinding()
1717
{
18-
App.WaitForElement("carouselView", timeout: TimeSpan.FromSeconds(2));
18+
App.WaitForElement("carouselView", timeout: TimeSpan.FromSeconds(4));
1919
App.WaitForElementTillPageNavigationSettled("1");
2020
}
2121
}

0 commit comments

Comments
 (0)