mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
Try to not restart the PT
This commit is contained in:
@@ -50,16 +50,16 @@ namespace UITests_FancyZones
|
|||||||
[TestInitialize]
|
[TestInitialize]
|
||||||
public void TestInitialize()
|
public void TestInitialize()
|
||||||
{
|
{
|
||||||
Session.KillAllProcessesByName("PowerToys");
|
// Session.KillAllProcessesByName("PowerToys");
|
||||||
Thread.Sleep(1000);
|
// Thread.Sleep(1000);
|
||||||
ClearOpenWindows();
|
// ClearOpenWindows();
|
||||||
|
|
||||||
// SettingsConfigHelper.ConfigureGlobalModuleSettings("Hosts");
|
// SettingsConfigHelper.ConfigureGlobalModuleSettings("Hosts");
|
||||||
AppZoneHistory.DeleteFile();
|
AppZoneHistory.DeleteFile();
|
||||||
FancyZonesEditorHelper.Files.Restore();
|
FancyZonesEditorHelper.Files.Restore();
|
||||||
|
|
||||||
RestartScopeExe();
|
// RestartScopeExe();
|
||||||
Thread.Sleep(2000);
|
// Thread.Sleep(2000);
|
||||||
|
|
||||||
// Set a custom layout with 1 subzones and clear app zone history
|
// Set a custom layout with 1 subzones and clear app zone history
|
||||||
SetupCustomLayouts();
|
SetupCustomLayouts();
|
||||||
@@ -86,8 +86,6 @@ namespace UITests_FancyZones
|
|||||||
[TestCategory("FancyZones_Dragging #3")]
|
[TestCategory("FancyZones_Dragging #3")]
|
||||||
public void TestToggleZonesWithNonPrimaryMouseClick()
|
public void TestToggleZonesWithNonPrimaryMouseClick()
|
||||||
{
|
{
|
||||||
TestInitialize();
|
|
||||||
|
|
||||||
string testCaseName = nameof(TestToggleZonesWithNonPrimaryMouseClick);
|
string testCaseName = nameof(TestToggleZonesWithNonPrimaryMouseClick);
|
||||||
|
|
||||||
var windowRect = Session.GetMainWindowRect();
|
var windowRect = Session.GetMainWindowRect();
|
||||||
|
|||||||
Reference in New Issue
Block a user