try waiting

This commit is contained in:
seraphima
2024-02-28 11:19:31 +01:00
parent 2966dc4828
commit 343a8a9858

View File

@@ -47,6 +47,8 @@ namespace Microsoft.FancyZonesEditor.UnitTests.Utils
// Find main editor window // Find main editor window
try try
{ {
// Wait for gui to start
System.Threading.Thread.Sleep(TimeSpan.FromSeconds(120));
MainEditorWindow = Session.FindElementByAccessibilityId("MainWindow1"); MainEditorWindow = Session.FindElementByAccessibilityId("MainWindow1");
} }
catch catch