Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ public void VerifyHybridWebView_SameDefaultFileWithDifferentHybridRoot()
Assert.That(hybridDefaultFile, Is.EqualTo("index.html"), "Default file should be index.Html.");
}

#if TEST_FAILS_ON_CATALYST // Issue Link: https://github.com/dotnet/maui/issues/32721

[Test, Order(4)]
[Category(UITestCategories.WebView)]
public void VerifyHybridWebView_EvaluateJavaScriptWithDifferentHybridRoot()
Expand Down Expand Up @@ -127,6 +129,7 @@ public void VerifyHybridWebViewWithShadow()
Thread.Sleep(2000); // Allow time for the UI to update
VerifyScreenshot();
}
#endif

[Test, Order(8)]
[Category(UITestCategories.WebView)]
Expand All @@ -139,6 +142,8 @@ public void VerifyHybridWebViewWithIsVisibleFalse()
App.WaitForNoElement("HybridWebViewControl");
}

#if TEST_FAILS_ON_CATALYST // Issue Link: https://github.com/dotnet/maui/issues/32721

[Test, Order(7)]
[Category(UITestCategories.WebView)]
public void VerifyHybridWebView_SendMessageToJavaScript()
Expand All @@ -155,6 +160,7 @@ public void VerifyHybridWebView_SendMessageToJavaScript()
var message = App.FindElement("StatusLabel").GetText();
Assert.That(message, Is.EqualTo("Message sent successfully. Result: Message received"), "JavaScript should receive the message sent from C#.");
}
#endif

#if TEST_FAILS_ON_WINDOWS && TEST_FAILS_ON_CATALYST && TEST_FAILS_ON_IOS // Issue Link: https://github.com/dotnet/maui/issues/30575, https://github.com/dotnet/maui/issues/30605
[Test, Order(10)]
Expand Down
Loading