mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
Fix mouse tests launch
This commit is contained in:
@@ -778,11 +778,11 @@ namespace Microsoft.PowerToys.UITest
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Restart scope exe.
|
/// Restart scope exe.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void RestartScopeExe(string? enableModules = null)
|
public Session RestartScopeExe(string? enableModules = null)
|
||||||
{
|
{
|
||||||
this.sessionHelper!.RestartScopeExe(enableModules);
|
this.sessionHelper!.RestartScopeExe(enableModules);
|
||||||
this.Session = new Session(this.sessionHelper.GetRoot(), this.sessionHelper.GetDriver(), this.scope, this.size);
|
this.Session = new Session(this.sessionHelper.GetRoot(), this.sessionHelper.GetDriver(), this.scope, this.size);
|
||||||
return;
|
return Session;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -617,6 +617,8 @@ namespace MouseUtils.UITests
|
|||||||
|
|
||||||
private void LaunchFromSetting(bool reload = false, bool launchAsAdmin = false)
|
private void LaunchFromSetting(bool reload = false, bool launchAsAdmin = false)
|
||||||
{
|
{
|
||||||
|
Session = RestartScopeExe("FindMyMouse,MouseHighlighter,MouseJump,MousePointerCrosshairs,CursorWrap");
|
||||||
|
|
||||||
// this.Session.Attach(PowerToysModule.PowerToysSettings);
|
// this.Session.Attach(PowerToysModule.PowerToysSettings);
|
||||||
this.Session.SetMainWindowSize(WindowSize.Large);
|
this.Session.SetMainWindowSize(WindowSize.Large);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user