Skip to content

Commit

Permalink
fix: small grammar fix / typo fix (#1218)
Browse files Browse the repository at this point in the history
  • Loading branch information
byronbytes committed Oct 15, 2021
1 parent 27bdd6e commit 1188448
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/UITests/LiveMode.cs
Expand Up @@ -58,15 +58,15 @@ private void TestLiveMode()
{
var appOpened = WaitFor(() => _wildlifeManager.MainWindowTitle == "Wildlife Manager 2.0", new TimeSpan(0, 0, 1), 10, _wildlifeManager.Refresh);

// set focus on ai win and then WildlifeManager to make sure the app is selected
// set focus on ai win and then WildlifeManager to make sure the app is selected.
driver.FocusWindowByResizing();
NativeMethods.SetForegroundWindow(_wildlifeManager.MainWindowHandle);

var appSelected = WaitFor(() => driver.LiveMode.SelectedElementText == "window 'Wildlife Manager 2.0'", new TimeSpan(0, 0, 1), 5);
driver.LiveMode.TogglePause();

Assert.IsTrue(appOpened, "Wildlife Manager may not have opened, its window title was not found");
Assert.IsTrue(appSelected, "Wildlife Manager was not selected in Live mode");
Assert.IsTrue(appOpened, "Wildlife Manager may not have opened, the window title was not found.");
Assert.IsTrue(appSelected, "Wildlife Manager was not selected in Live Mode.");
VerifyLiveModeTitle();
}

Expand Down Expand Up @@ -99,4 +99,4 @@ public void TestCleanup()
TearDown();
}
}
}
}

0 comments on commit 1188448

Please sign in to comment.