public void AssertWarningWindowIsClosed() { List <string> titles = new List <string>(); foreach (var modal in Scope.DefaultWindow.ModalWindows()) { titles.Add(modal.Title); } AssertionUtil.AssertFalse(titles.Contains(ConfigurationManager.AppSettings["ModalWindowName"]), "Modal window is found when should not"); }
public void AssertSidePanelIsNotOpen() { AssertionUtil.AssertFalse(MainView.ListBoxSidePanel.IsVisible(), "Side panel is still visible"); }
public void AssertItemIsAbsentOnPanel(string filename, string panel) { AssertionUtil.AssertFalse(PanelBl.IsFileFound(panel, filename), "File is present when should not be"); }