Skip to content

Commit

Permalink
Fix spelling error
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaofeng Wang (from Dev Box) committed Jan 24, 2025
1 parent e01c099 commit 005c0bd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/UITestAPI/src/UIManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void StartApp(string appName, string windowName, string appPath)
}

// Take control of an application that already exists
public void LuanchApp(string appName, string windowName)
public void LaunchApp(string appName, string windowName)
{
if (Root != null)
{
Expand Down
4 changes: 2 additions & 2 deletions src/UITestAPI/src/UITestAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ public void StartApp(string appName, string windowName, string appPath)
}

// Take control of an application that already exists
public void LuanchApp(string appName, string windowName)
public void LaunchApp(string appName, string windowName)
{
UIManager.LuanchApp(appName, windowName);
UIManager.LaunchApp(appName, windowName);
}

// Use the name to switch the current driver
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public void RunFancyZones()
mUITestAPI.Click_Element("Launch layout editor");

Thread.Sleep(5000);
mUITestAPI.LuanchApp("PowerToys.FancyZonesEditor", "FancyZones Layout");
mUITestAPI.LaunchApp("PowerToys.FancyZonesEditor", "FancyZones Layout");
mUITestAPI?.Click_CreateNewLayout();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void EnableKeyboardManager() // verify the session is initialized
mUITestAPI.Enable_Module_from_Dashboard("Keyboard Manager");
mUITestAPI.Click_Element("Remap a key");
Thread.Sleep(5000);
mUITestAPI.LuanchApp("PowerToys.KeyboardManagerEditor", "Remap keys");
mUITestAPI.LaunchApp("PowerToys.KeyboardManagerEditor", "Remap keys");
mUITestAPI.Click_Element("Add key remapping");
mUITestAPI.Click_Element("Cancel");
mUITestAPI.CloseApp("PowerToys.KeyboardManagerEditor");
Expand Down

0 comments on commit 005c0bd

Please sign in to comment.