fix pipeline run low time

This commit is contained in:
Zhaopeng Wang (from Dev Box)
2025-05-22 18:56:29 +08:00
parent 9773bf8301
commit 855e5efb53
2 changed files with 2 additions and 0 deletions

View File

@@ -526,6 +526,7 @@ namespace Microsoft.PowerToys.UITest
Assert.IsNotNull(this.Root, $"Failed to attach to the window '{windowName}'. Root driver is null");
}
Thread.Sleep(3);
return this;
}

View File

@@ -337,6 +337,7 @@ namespace UITests_FancyZones
Session.KillAllProcessesByName("explorer");
Session.StartExe("explorer.exe", "C:\\");
Thread.Sleep(3);
Session.Attach(WindowName, WindowSize.UnSpecified);
var tabView = Find<Tab>(By.AccessibilityId("TabView"));
tabView.DoubleClick(); // maximize the window