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

[Testing] Added categories to Controls.AppiumTests #20642

Merged
merged 4 commits into from
Feb 29, 2024

Merge branch 'main' into appium-test-categories

42966c7
Select commit
Loading
Failed to load commit list.
Merged

[Testing] Added categories to Controls.AppiumTests #20642

Merge branch 'main' into appium-test-categories
42966c7
Select commit
Loading
Failed to load commit list.
Azure Pipelines / MAUI-UITests-public failed Feb 27, 2024 in 1h 34m 50s

Build #8.0.10-ci.net8.9057+pr.20642-sha.eae2ff0e5-azdo.109883 had test failures

Details

Tests

  • Failed: 5 (1.05%)
  • Passed: 340 (71.58%)
  • Other: 130 (27.37%)
  • Total: 475

Annotations

Check failure on line 18 in Build log

See this annotation in the file changed.

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

Build log #L18

There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.

Check failure on line 2255 in Build log

See this annotation in the file changed.

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

Build log #L2255

PowerShell exited with code '1'.

Check failure on line 4409 in Build log

See this annotation in the file changed.

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

Build log #L4409

PowerShell exited with code '1'.

Check failure on line 1230 in Build log

See this annotation in the file changed.

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

Build log #L1230

PowerShell exited with code '1'.

Check failure on line 1 in Microsoft.Maui.AppiumTests.Issues.Issue11501(Android).MakingFragmentRelatedChangesWhileAppIsBackgroundedFails("RemoveAddTabs")

See this annotation in the file changed.

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

Microsoft.Maui.AppiumTests.Issues.Issue11501(Android).MakingFragmentRelatedChangesWhileAppIsBackgroundedFails("RemoveAddTabs")

OpenQA.Selenium.WebDriverException : An unknown server-side error occurred while processing the command. Original error: Timed out after 15622ms waiting for the root AccessibilityNodeInfo in the active window. Make sure the active window is not constantly hogging the main UI thread (e.g. the application is being idle long enough), so the accessibility manager could do its work
Raw output
   at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
   at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebDriver.FindElements(String mechanism, String value)
   at OpenQA.Selenium.Appium.MobileBy.FindElements(ISearchContext context)
   at OpenQA.Selenium.WebDriver.FindElements(By by)
   at UITest.Appium.AppiumQuery.FindElements(AppiumApp appiumApp) in /Users/builder/azdo/_work/1/s/src/TestUtils/src/UITest.Appium/AppiumQuery.cs:line 113
   at UITest.Appium.AppiumApp.FindElement(String id) in /Users/builder/azdo/_work/1/s/src/TestUtils/src/UITest.Appium/AppiumApp.cs:line 69
   at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /Users/builder/azdo/_work/1/s/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 633
   at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /Users/builder/azdo/_work/1/s/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 644
   at Microsoft.Maui.AppiumTests.Issues.Issue11501.MakingFragmentRelatedChangesWhileAppIsBackgroundedFails(String scenario) in /Users/builder/azdo/_work/1/s/src/Controls/tests/UITests/Tests/Issues/Issue11501.cs:line 33
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   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)

Check failure on line 1 in Microsoft.Maui.AppiumTests.Issues.Issue11501(Android).MakingFragmentRelatedChangesWhileAppIsBackgroundedFails("SwapMainPage")

See this annotation in the file changed.

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

Microsoft.Maui.AppiumTests.Issues.Issue11501(Android).MakingFragmentRelatedChangesWhileAppIsBackgroundedFails("SwapMainPage")

OpenQA.Selenium.WebDriverException : An unknown server-side error occurred while processing the command. Original error: Timed out after 15635ms waiting for the root AccessibilityNodeInfo in the active window. Make sure the active window is not constantly hogging the main UI thread (e.g. the application is being idle long enough), so the accessibility manager could do its work
Raw output
   at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
   at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebDriver.FindElements(String mechanism, String value)
   at OpenQA.Selenium.Appium.MobileBy.FindElements(ISearchContext context)
   at OpenQA.Selenium.WebDriver.FindElements(By by)
   at UITest.Appium.AppiumQuery.FindElements(AppiumApp appiumApp) in /Users/builder/azdo/_work/1/s/src/TestUtils/src/UITest.Appium/AppiumQuery.cs:line 113
   at UITest.Appium.AppiumApp.FindElement(String id) in /Users/builder/azdo/_work/1/s/src/TestUtils/src/UITest.Appium/AppiumApp.cs:line 69
   at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /Users/builder/azdo/_work/1/s/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 633
   at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /Users/builder/azdo/_work/1/s/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 644
   at Microsoft.Maui.AppiumTests.Issues.Issue11501.MakingFragmentRelatedChangesWhileAppIsBackgroundedFails(String scenario) in /Users/builder/azdo/_work/1/s/src/Controls/tests/UITests/Tests/Issues/Issue11501.cs:line 33
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   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)

Check failure on line 1 in Microsoft.Maui.AppiumTests.Issues.Issue11501(Android).MakingFragmentRelatedChangesWhileAppIsBackgroundedFails("SwapFlyoutPage")

See this annotation in the file changed.

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

Microsoft.Maui.AppiumTests.Issues.Issue11501(Android).MakingFragmentRelatedChangesWhileAppIsBackgroundedFails("SwapFlyoutPage")

System.TimeoutException : Timed out waiting for element...
Raw output
   at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /Users/builder/azdo/_work/1/s/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 629
   at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /Users/builder/azdo/_work/1/s/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 644
   at Microsoft.Maui.AppiumTests.Issues.Issue11501.MakingFragmentRelatedChangesWhileAppIsBackgroundedFails(String scenario) in /Users/builder/azdo/_work/1/s/src/Controls/tests/UITests/Tests/Issues/Issue11501.cs:line 33
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   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)

Check failure on line 1 in Microsoft.Maui.AppiumTests.Issues.Issue11501(Android).MakingFragmentRelatedChangesWhileAppIsBackgroundedFails("SwapTabbedPage")

See this annotation in the file changed.

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

Microsoft.Maui.AppiumTests.Issues.Issue11501(Android).MakingFragmentRelatedChangesWhileAppIsBackgroundedFails("SwapTabbedPage")

OpenQA.Selenium.WebDriverException : An unknown server-side error occurred while processing the command. Original error: Timed out after 15618ms waiting for the root AccessibilityNodeInfo in the active window. Make sure the active window is not constantly hogging the main UI thread (e.g. the application is being idle long enough), so the accessibility manager could do its work
Raw output
   at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute)
   at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
   at OpenQA.Selenium.WebDriver.FindElements(String mechanism, String value)
   at OpenQA.Selenium.Appium.MobileBy.FindElements(ISearchContext context)
   at OpenQA.Selenium.WebDriver.FindElements(By by)
   at UITest.Appium.AppiumQuery.FindElements(AppiumApp appiumApp) in /Users/builder/azdo/_work/1/s/src/TestUtils/src/UITest.Appium/AppiumQuery.cs:line 113
   at UITest.Appium.AppiumApp.FindElement(String id) in /Users/builder/azdo/_work/1/s/src/TestUtils/src/UITest.Appium/AppiumApp.cs:line 69
   at UITest.Appium.HelperExtensions.Wait(Func`1 query, Func`2 satisfactory, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /Users/builder/azdo/_work/1/s/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 633
   at UITest.Appium.HelperExtensions.WaitForAtLeastOne(Func`1 query, String timeoutMessage, Nullable`1 timeout, Nullable`1 retryFrequency) in /Users/builder/azdo/_work/1/s/src/TestUtils/src/UITest.Appium/HelperExtensions.cs:line 644
   at Microsoft.Maui.AppiumTests.Issues.Issue11501.MakingFragmentRelatedChangesWhileAppIsBackgroundedFails(String scenario) in /Users/builder/azdo/_work/1/s/src/Controls/tests/UITests/Tests/Issues/Issue11501.cs:line 33
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
   at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
   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)