NullReferenceException throws on Windows when setting Cookies on .NET MAUI WebView #24846
Build #9.0.10-ci+pr.24846.azdo.128993 had test failures
Details
- 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
azure-pipelines / MAUI-UITests-public
Build log #L1363
PowerShell exited with code '1'.
Check failure on line 858 in Build log
azure-pipelines / MAUI-UITests-public
Build log #L858
PowerShell exited with code '1'.
Check failure on line 2420 in Build log
azure-pipelines / MAUI-UITests-public
Build log #L2420
PowerShell exited with code '1'.
Check failure on line 2438 in Build log
azure-pipelines / MAUI-UITests-public
Build log #L2438
PowerShell exited with code '1'.
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)
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)
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)
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)