fix pipeline error

This commit is contained in:
Zhaopeng Wang (from Dev Box)
2025-04-27 12:24:12 +08:00
parent 7cdf036e9d
commit f42ef2f200

View File

@@ -543,7 +543,7 @@ namespace Microsoft.FancyZones.UITests
UITestBase.NativeMethods.ChangeDispalyResolution(width, height);
this.AttachPowertoySetting();
this.AttachFancyZonesEditor();
Session.Find<Element>(By.AccessibilityId("Monitors")).Find<Element>("Monitor 1").Find(width + " x " + height);
Session.Find<Element>(By.AccessibilityId("Monitors")).Find<Element>("Monitor 1").Find<Element>($"{width} x {height}");
this.CloseFancyZonesEditor();
UITestBase.NativeMethods.ChangeDispalyResolution(nowWidth, nowHeight);
}