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

Add better exception for missing Maps on Windows #19046

Merged
merged 3 commits into from
Jan 27, 2024

Stop UITests from crashing on Windows

63da38b
Select commit
Loading
Failed to load commit list.
Merged

Add better exception for missing Maps on Windows #19046

Stop UITests from crashing on Windows
63da38b
Select commit
Loading
Failed to load commit list.
Azure Pipelines / MAUI-UITests-public succeeded Jan 26, 2024 in 1h 6m 54s

Build #8.0.7-ci.net8.8410+pr.19046-sha.032936f20-azdo.106661 had test failures

Details

Tests

  • Failed: 2 (0.22%)
  • Passed: 596 (66.67%)
  • Other: 296 (33.11%)
  • Total: 894

Annotations

Check failure on line 1206 in Build log

See this annotation in the file changed.

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

Build log #L1206

PowerShell exited with code '1'.

Check failure on line 1598 in Build log

See this annotation in the file changed.

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

Build log #L1598

PowerShell exited with code '1'.

Check failure on line 1236 in Build log

See this annotation in the file changed.

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

Build log #L1236

PowerShell exited with code '1'.

Check failure on line 1 in Microsoft.Maui.AppiumTests.InputTransparencyGalleryTests(Android).InputTransparencyWhenRootIsTransparentMatrix(True,False,False,True)

See this annotation in the file changed.

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

Microsoft.Maui.AppiumTests.InputTransparencyGalleryTests(Android).InputTransparencyWhenRootIsTransparentMatrix(True,False,False,True)

The app was expected to be running still, investigate as possible crash
TearDown : NUnit.Framework.AssertionException : The app was expected to be running still, investigate as possible crash
Raw output
   at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /Users/builder/azdo/_work/3/s/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 68
   at InvokeStub_UITestBase.UITestBaseTearDown(Object, Object, IntPtr*)

--TearDown
   at NUnit.Framework.Assert.ReportFailure(String message)
   at NUnit.Framework.Assert.Fail(String message, Object[] args)
   at NUnit.Framework.Assert.Fail(String message)
   at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /Users/builder/azdo/_work/3/s/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 68
   at InvokeStub_UITestBase.UITestBaseTearDown(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
1)    at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /Users/builder/azdo/_work/3/s/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 68
   at InvokeStub_UITestBase.UITestBaseTearDown(Object, Object, IntPtr*)

Check failure on line 1 in Microsoft.Maui.AppiumTests.Issues.HideSoftInputOnTappedPageTests(Android).HideSoftInputOnTappedPageTest("Editor",False)

See this annotation in the file changed.

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

Microsoft.Maui.AppiumTests.Issues.HideSoftInputOnTappedPageTests(Android).HideSoftInputOnTappedPageTest("Editor",False)

The app was expected to be running still, investigate as possible crash
TearDown : NUnit.Framework.AssertionException : The app was expected to be running still, investigate as possible crash
Raw output
   at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /Users/builder/azdo/_work/3/s/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 68
   at InvokeStub_UITestBase.UITestBaseTearDown(Object, Object, IntPtr*)

--TearDown
   at NUnit.Framework.Assert.ReportFailure(String message)
   at NUnit.Framework.Assert.Fail(String message, Object[] args)
   at NUnit.Framework.Assert.Fail(String message)
   at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /Users/builder/azdo/_work/3/s/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 68
   at InvokeStub_UITestBase.UITestBaseTearDown(Object, Object, IntPtr*)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
1)    at UITest.Appium.NUnit.UITestBase.UITestBaseTearDown() in /Users/builder/azdo/_work/3/s/src/TestUtils/src/UITest.NUnit/UITestBase.cs:line 68
   at InvokeStub_UITestBase.UITestBaseTearDown(Object, Object, IntPtr*)