Fix fancy zones UI tests #42249 (#44181)

- [ ] Closes: #42249

Contribution to https://github.com/microsoft/PowerToys/issues/40701
This commit is contained in:
Gleb Khmyznikov
2025-12-10 10:04:04 -08:00
committed by GitHub
parent f822826cf1
commit 995bbdc62d
12 changed files with 807 additions and 205 deletions

View File

@@ -124,9 +124,6 @@ public class PeekFilePreviewTests : UITestBase
settings["properties"] = properties;
});
// Disable all modules except Peek in global settings
SettingsConfigHelper.ConfigureGlobalModuleSettings("Peek");
Debug.WriteLine("Successfully updated all settings - Peek shortcut configured and all modules except Peek disabled");
}
catch (Exception ex)
@@ -138,6 +135,7 @@ public class PeekFilePreviewTests : UITestBase
[TestInitialize]
public void TestInitialize()
{
RestartScopeExe("Peek");
Session.CloseMainWindow();
SendKeys(Key.Win, Key.M);
}