From 8adaa27bec3e68d16ededd1a33b1484d5323bf69 Mon Sep 17 00:00:00 2001 From: TamilarasanSF4853 Date: Tue, 30 Sep 2025 12:40:49 +0530 Subject: [PATCH 1/2] added sleep method --- .../tests/TestCases.Shared.Tests/Tests/Issues/Issue12134.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue12134.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue12134.cs index fb813def07b3..48dede4958ce 100644 --- a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue12134.cs +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue12134.cs @@ -21,6 +21,7 @@ public void CookiesCorrectlyLoadWithMultipleWebViews() VerifyInternetConnectivity(); for (int i = 0; i < 10; i++) { + Thread.Sleep(2000); App.WaitForElement("Success", $"Failied on: {i}"); App.Tap("LoadNewWebView"); } From a6028808b36943d648e0dee39a10f058d8bc7c11 Mon Sep 17 00:00:00 2001 From: TamilarasanSF4853 Date: Tue, 30 Sep 2025 18:39:28 +0530 Subject: [PATCH 2/2] changed web view Source --- src/Controls/tests/TestCases.HostApp/Issues/Issue12134.cs | 2 +- .../tests/TestCases.Shared.Tests/Tests/Issues/Issue12134.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Controls/tests/TestCases.HostApp/Issues/Issue12134.cs b/src/Controls/tests/TestCases.HostApp/Issues/Issue12134.cs index 4a27ffcc3468..afdc150bb9de 100644 --- a/src/Controls/tests/TestCases.HostApp/Issues/Issue12134.cs +++ b/src/Controls/tests/TestCases.HostApp/Issues/Issue12134.cs @@ -85,7 +85,7 @@ private WebView GetWebView() SetCookieContainer(anotherWebView); anotherWebView.Navigated += WebViewOnNavigated; - anotherWebView.Source = "https://dotnet.microsoft.com/apps/xamarin"; + anotherWebView.Source = "https://dotnet.microsoft.com"; return anotherWebView; } diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue12134.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue12134.cs index 48dede4958ce..fb813def07b3 100644 --- a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue12134.cs +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue12134.cs @@ -21,7 +21,6 @@ public void CookiesCorrectlyLoadWithMultipleWebViews() VerifyInternetConnectivity(); for (int i = 0; i < 10; i++) { - Thread.Sleep(2000); App.WaitForElement("Success", $"Failied on: {i}"); App.Tap("LoadNewWebView"); }