mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-23 19:49:43 +01:00
fix pipeline error and only run fancyzone uitest
This commit is contained in:
@@ -107,7 +107,7 @@ jobs:
|
||||
rerunFailedTests: true
|
||||
${{ if eq(parameters.isUIAutomationPipeline, true) }}:
|
||||
testAssemblyVer2: |
|
||||
**\*UITest*.dll
|
||||
**\UITests-FancyZones.dll
|
||||
!**\obj\**
|
||||
!**\ref\**
|
||||
${{ else }}:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user