Editor templates tests update (#1667)

* added zone count tests
* fixed launch flag
This commit is contained in:
Seraphima Zykova
2020-03-24 17:27:22 +03:00
committed by GitHub
parent e32d619677
commit 7c0c75ca42
2 changed files with 51 additions and 3 deletions

View File

@@ -206,12 +206,14 @@ namespace PowerToysTests
WindowsDriver<WindowsElement> driver = new WindowsDriver<WindowsElement>(new Uri(WindowsApplicationDriverUrl), opts);
Assert.IsNotNull(driver);
driver.LaunchApp();
isPowerToysLaunched = true;
}
catch (OpenQA.Selenium.WebDriverException)
catch (OpenQA.Selenium.WebDriverException ex)
{
Console.WriteLine("Exception on PowerToys launch:" + ex.Message);
//exception could be thrown even if app launched successfully
}
}
isPowerToysLaunched = true;
}
public static void ExitPowerToys()