public void ShouldAllowToNavigateToImageProcessingCustomization() { // Given var shell = new ShellScreenObject(); // When var contentPage = shell.ControlPanel.NavigateTo(ContentRegions.ImageProcessingCustomization); // Then Assert.IsTrue(contentPage.IsDisplayed()); }
public void ShouldAllowToMinimizeWindow() { // Given var mainWindow = new ShellScreenObject(); // When mainWindow.MinimizeWindow(); // Then Assert.IsTrue(TestedApp.WaitForControlCondition(u => TestedApp.Minimized, 1000)); }
public void ShouldAllowToMaximizeWindow() { // Given var mainWindow = new ShellScreenObject(); // When mainWindow.MaximizeWindow(); new Wait().Until(() => TestedApp.Maximized); // Then Assert.IsTrue(TestedApp.Maximized); }
public void ShouldAllowToCloseWindow() { // Given var mainWindow = new ShellScreenObject(); // When mainWindow.CloseWindow(); new Wait().Until(() => !TestedApp.Exists); // Then Assert.IsFalse(TestedApp.Exists); }