Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullReferenceException throws on Windows when setting Cookies on .NET MAUI WebView #24846

Merged
merged 18 commits into from
Nov 26, 2024

Resolved the webview loaded without exception failed case in android …

25cd0be
Select commit
Loading
Failed to load commit list.
Merged

NullReferenceException throws on Windows when setting Cookies on .NET MAUI WebView #24846

Resolved the webview loaded without exception failed case in android …
25cd0be
Select commit
Loading
Failed to load commit list.
Azure Pipelines / MAUI-UITests-public succeeded Nov 25, 2024 in 16m 49s

Build #9.0.10-ci+pr.24846.azdo.128993 had test failures

Details

Tests

  • Failed: 11 (0.43%)
  • Passed: 1,874 (72.58%)
  • Other: 697 (26.99%)
  • Total: 2,582

Annotations

Check failure on line 1363 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-UITests-public

Build log #L1363

PowerShell exited with code '1'.

Check failure on line 858 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-UITests-public

Build log #L858

PowerShell exited with code '1'.

Check failure on line 2420 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-UITests-public

Build log #L2420

PowerShell exited with code '1'.

Check failure on line 2438 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-UITests-public

Build log #L2438

PowerShell exited with code '1'.

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.DragAndDropUITests(Windows).DropEventCoordinates

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-UITests-public

Microsoft.Maui.TestCases.Tests.DragAndDropUITests(Windows).DropEventCoordinates

System.FormatException : The input string '' was not in a correct format.
Raw output
   at System.Number.ThrowFormatException[TChar](ReadOnlySpan`1 value)
   at System.Int32.Parse(String s)
   at Microsoft.Maui.TestCases.Tests.DragAndDropUITests.GetCoordinatesFromLabel(String labelText) in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/DragAndDropUITests.cs:line 298
   at Microsoft.Maui.TestCases.Tests.DragAndDropUITests.DropEventCoordinates() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/DragAndDropUITests.cs:line 252
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue23158(Android).ValidateEntryClearButtonVisibilityBehavior

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-UITests-public

Microsoft.Maui.TestCases.Tests.Issues.Issue23158(Android).ValidateEntryClearButtonVisibilityBehavior

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: ValidateEntryClearButtonVisibilityBehavior.png (1.59% difference)
If the correct baseline has changed (this isn't a a bug), then update the baseline image.
See test attachment or download the build artifacts to get the new snapshot file.

More info: https://aka.ms/visual-test-workflow
Raw output
   at VisualTestUtils.VisualRegressionTester.Fail(String message)
   at VisualTestUtils.VisualRegressionTester.VerifyMatchesSnapshot(String name, ImageSnapshot actualImage, String environmentName, ITestContext testContext)
   at Microsoft.Maui.TestCases.Tests.UITest.<VerifyScreenshot>g__Verify|7_0(String name) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 235
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 117
   at Microsoft.Maui.TestCases.Tests.Issues.Issue23158.ValidateEntryClearButtonVisibilityBehavior() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue23158.cs:line 28
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue20903(Android).RegisterTwoDoubleTapHandlersAndCheckNumberOfFiredEventsAsync

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-UITests-public

Microsoft.Maui.TestCases.Tests.Issues.Issue20903(Android).RegisterTwoDoubleTapHandlersAndCheckNumberOfFiredEventsAsync

  Assert.That(actual, Is.EqualTo(expected))
  String lengths are both 1. Strings differ at index 0.
  Expected: "4"
  But was:  "2"
  -----------^
Raw output
   at NUnit.Framework.Legacy.ClassicAssert.AreEqual(Object expected, Object actual)
   at Microsoft.Maui.TestCases.Tests.Issues.Issue20903.RegisterTwoDoubleTapHandlersAndCheckNumberOfFiredEventsAsync() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue20903.cs:line 32
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

1)    at NUnit.Framework.Legacy.ClassicAssert.AreEqual(Object expected, Object actual)
   at Microsoft.Maui.TestCases.Tests.Issues.Issue20903.RegisterTwoDoubleTapHandlersAndCheckNumberOfFiredEventsAsync() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue20903.cs:line 32
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.AsyncStateMachineBox`1.ExecutionContextCallback(Object s)

Check failure on line 1 in Microsoft.Maui.TestCases.Tests.Issues.Issue19152(Android).EntryClearButtonColorShouldMatchTextColor

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-UITests-public

Microsoft.Maui.TestCases.Tests.Issues.Issue19152(Android).EntryClearButtonColorShouldMatchTextColor

VisualTestUtils.VisualTestFailedException : 
Snapshot different than baseline: EntryClearButtonColorShouldMatchTextColor.png (1.05% difference)
If the correct baseline has changed (this isn't a a bug), then update the baseline image.
See test attachment or download the build artifacts to get the new snapshot file.

More info: https://aka.ms/visual-test-workflow
Raw output
   at VisualTestUtils.VisualRegressionTester.Fail(String message)
   at VisualTestUtils.VisualRegressionTester.VerifyMatchesSnapshot(String name, ImageSnapshot actualImage, String environmentName, ITestContext testContext)
   at Microsoft.Maui.TestCases.Tests.UITest.<VerifyScreenshot>g__Verify|7_0(String name) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 235
   at Microsoft.Maui.TestCases.Tests.UITest.VerifyScreenshot(String name) in /_/src/Controls/tests/TestCases.Shared.Tests/UITest.cs:line 117
   at Microsoft.Maui.TestCases.Tests.Issues.Issue19152.EntryClearButtonColorShouldMatchTextColor() in /_/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue19152.cs:line 22
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)