mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
Fix settings applying process
This commit is contained in:
@@ -276,8 +276,11 @@ namespace UITests_FancyZones
|
|||||||
|
|
||||||
this.Find<ToggleSwitch>("FancyZonesWindowSwitchingToggle").Toggle(switchWindowEnable);
|
this.Find<ToggleSwitch>("FancyZonesWindowSwitchingToggle").Toggle(switchWindowEnable);
|
||||||
|
|
||||||
Task.Delay(500).Wait(); // Wait for the setting to be applied
|
// Go back and forth to make sure settigns applied
|
||||||
this.Scroll(9, "Up"); // Pull the setting page down to make sure the setting is visible
|
this.Find<NavigationViewItem>("Workspaces").Click();
|
||||||
|
Task.Delay(200).Wait();
|
||||||
|
this.Find<NavigationViewItem>("FancyZones").Click();
|
||||||
|
|
||||||
this.Find<Button>("Open layout editor").Click(false, 500, 5000);
|
this.Find<Button>("Open layout editor").Click(false, 500, 5000);
|
||||||
this.Session.Attach(PowerToysModule.FancyZone);
|
this.Session.Attach(PowerToysModule.FancyZone);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user