Skip to content

Commit cbc88c7

Browse files
modified flaky test cases
1 parent 91f0bbb commit cbc88c7

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed
-20.5 KB
Loading

src/Controls/tests/TestCases.HostApp/Issues/Issue30575.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace Maui.Controls.Sample.Issues;
22

3-
[Issue(IssueTracker.Github, 30575, "FlowDirection RightToLeft causes mirrored content in WebView", PlatformAffected.UWP)]
3+
[Issue(IssueTracker.Github, 30575, "FlowDirection RightToLeft causes mirrored content in WebView", PlatformAffected.UWP, isInternetRequired: true)]
44
public class Issue30575 : ContentPage
55
{
66
public Issue30575()
@@ -15,7 +15,7 @@ public Issue30575()
1515

1616
webView.Source = new UrlWebViewSource
1717
{
18-
Url = "https://github.com/dotnet/maui/issues/30575"
18+
Url = "https://example.com/"
1919
};
2020

2121
Label label = new Label

src/Controls/tests/TestCases.Shared.Tests/Tests/CollectionView/CollectionViewUITests.HeaderAndFooter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public void HeaderFooterHorizontalViewWorks()
7474
// Scroll right to ensure the footer is visible and positioned at the end
7575
for (int i = 0; i < 5; i++)
7676
{
77-
App.ScrollRight("CV", ScrollStrategy.Auto, 0.9, 250);
77+
App.ScrollRight("CV", ScrollStrategy.Gesture, 0.9, 250);
7878
}
7979

8080
// Verify the footer is visible

src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue30575.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ public Issue30575(TestDevice device) : base(device) { }
1414
[Category(UITestCategories.WebView)]
1515
public void WebViewShouldNotMirrored()
1616
{
17+
VerifyInternetConnectivity();
1718
App.WaitForElement("WebViewLabel");
1819
Thread.Sleep(3000);
1920
VerifyScreenshot();
-45.3 KB
Loading

0 commit comments

Comments
 (0)