fix pipeline error and only run fancyzone uitest

This commit is contained in:
Zhaopeng Wang (from Dev Box)
2025-04-28 13:31:54 +08:00
parent 60df6ee224
commit f2e93cf440
2 changed files with 8 additions and 1 deletions

View File

@@ -107,7 +107,7 @@ jobs:
rerunFailedTests: true
${{ if eq(parameters.isUIAutomationPipeline, true) }}:
testAssemblyVer2: |
**\*UITest*.dll
**\UITests-FancyZones.dll
!**\obj\**
!**\ref\**
${{ else }}:

View File

@@ -555,6 +555,13 @@ namespace Microsoft.FancyZones.UITests
private void OpenFancyZonesPanel(bool launchAsAdmin = false)
{
if (this.Session.IsWindowOpen("FancyZones Layout"))
{
AttachFancyZonesEditor();
CloseFancyZonesEditor();
AttachPowertoySetting();
}
var windowingElement = this.Find<NavigationViewItem>("Windowing & Layouts");
// Goto FancyZones Editor setting page