Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 10 additions & 2 deletions src/Controls/tests/TestCases.HostApp/Issues/Issue30575.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,22 @@ public Issue30575()
VerticalStackLayout stackLayout = new VerticalStackLayout();
WebView webView = new WebView
{
HorizontalOptions = LayoutOptions.Start,
HeightRequest = 400,
WidthRequest = 400,
FlowDirection = FlowDirection.RightToLeft,
};

webView.Source = new UrlWebViewSource
webView.Source = new HtmlWebViewSource
{
Url = "https://github.com/dotnet/maui/issues/30575"
Html = @"
<html>
<body>
<H1>.NET MAUI</H1>
<p>Welcome to WebView.</p>
</body>
</html>
"
};

Label label = new Label
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public void HeaderFooterHorizontalViewWorks()
// Scroll right to ensure the footer is visible and positioned at the end
for (int i = 0; i < 5; i++)
{
App.ScrollRight("CV", ScrollStrategy.Auto, 0.9, 250);
App.ScrollRight("CV", ScrollStrategy.Gesture, 0.9, 250);
}

// Verify the footer is visible
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ public Issue12134(TestDevice testDevice) : base(testDevice)
[Test]
[Category(UITestCategories.WebView)]
[Category(UITestCategories.Compatibility)]
[FlakyTest("Temporarily disabled due to flakiness in CI. Tracking issue: https://github.com/dotnet/maui/issues/31869")]
public void CookiesCorrectlyLoadWithMultipleWebViews()
{
VerifyInternetConnectivity();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ public Issue30575(TestDevice device) : base(device) { }

[Test]
[Category(UITestCategories.WebView)]
[FlakyTest("Temporarily disabled due to flakiness in CI. Tracking issue: https://github.com/dotnet/maui/issues/31869")]
public void WebViewShouldNotMirrored()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VisualTestUtils.VisualTestFailedException :
Snapshot different than baseline: WebViewShouldNotMirrored.png (1.90% difference)
image

Failing on Android, Mac and Windows.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jsuarezruiz I have added the pending snapshots in the latest commit.

{
App.WaitForElement("WebViewLabel");
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading