When migrating to target .NET 9 (#2899), @kazo0 discovered that not all tests were actually being executed! In particular, 74 tests were not run on 90f328b (main) vs. 9206477 (from #2899), and those 74 tests were not added in #2899.
Reportedly 5e7a219 caused the missing tests to be found:
diff --git a/build/ci/stage-build-uitests-wasm.yml b/build/ci/stage-build-uitests-wasm.yml
index 9c2a9e163..125b6f25c 100644
--- a/build/ci/stage-build-uitests-wasm.yml
+++ b/build/ci/stage-build-uitests-wasm.yml
@@ -36,6 +36,7 @@ jobs:
testResultsFormat: 'NUnit'
testResultsFiles: '$(build.sourcesdirectory)/build/TestResult.xml'
failTaskOnFailedTests: true
+ failTaskOnMissingResultsFile: true
Once these tests were enabled, at least 17 of them were found to be failing.
In the interest of expediency, we are ignoring the following tests:
Given_ContentDialog.When_ComplexContentDialog
Given_ContentDialog.When_ComplexContentDialogNavigateSecondPage
Given_ContentDialog.When_SimpleContentDialog("SimpleDialogCodebehindWithCancelButton",0,False)
Given_ContentDialog.When_SimpleContentDialog("SimpleDialogCodebehindWithCancelButton",3,True)
Given_FlyoutDialog.When_FlyoutsButton("FlyoutDialogCodebehindBackgroundButton",0,False)
Given_FlyoutDialog.When_FlyoutsButton("FlyoutDialogCodebehindButton",0,False)
Given_FlyoutDialog.When_FlyoutsButton("FlyoutDialogCodebehindWithCancelButton",3,True)
Given_FlyoutDialog.When_FlyoutsButton("FlyoutDialogXamlButton",0,False)
Given_MessageDialog.When_MessageDialogFromXAML
Given_PageNavigation.When_PageNavigationCodebehind
Given_PageNavigation.When_PageNavigationDependsn
Given_PageNavigation.When_PageNavigationViewModel
Given_PageNavigation.When_PageNavigationXAML
Given_PageNavigationRegistered.When_PageNavigationRegisteredRoot
Given_PageNavigationRegistered.When_PageNavigationRegisteredViewModel
Investigate why these tests are failing and re-enable them.
When migrating to target .NET 9 (#2899), @kazo0 discovered that not all tests were actually being executed! In particular, 74 tests were not run on 90f328b (main) vs. 9206477 (from #2899), and those 74 tests were not added in #2899.
Reportedly 5e7a219 caused the missing tests to be found:
Once these tests were enabled, at least 17 of them were found to be failing.
In the interest of expediency, we are ignoring the following tests:
Given_ContentDialog.When_ComplexContentDialogGiven_ContentDialog.When_ComplexContentDialogNavigateSecondPageGiven_ContentDialog.When_SimpleContentDialog("SimpleDialogCodebehindWithCancelButton",0,False)Given_ContentDialog.When_SimpleContentDialog("SimpleDialogCodebehindWithCancelButton",3,True)Given_FlyoutDialog.When_FlyoutsButton("FlyoutDialogCodebehindBackgroundButton",0,False)Given_FlyoutDialog.When_FlyoutsButton("FlyoutDialogCodebehindButton",0,False)Given_FlyoutDialog.When_FlyoutsButton("FlyoutDialogCodebehindWithCancelButton",3,True)Given_FlyoutDialog.When_FlyoutsButton("FlyoutDialogXamlButton",0,False)Given_MessageDialog.When_MessageDialogFromXAMLGiven_PageNavigation.When_PageNavigationCodebehindGiven_PageNavigation.When_PageNavigationDependsnGiven_PageNavigation.When_PageNavigationViewModelGiven_PageNavigation.When_PageNavigationXAMLGiven_PageNavigationRegistered.When_PageNavigationRegisteredRootGiven_PageNavigationRegistered.When_PageNavigationRegisteredViewModelInvestigate why these tests are failing and re-enable them.