public void ThenINotSeeHeight() { OrderMainPage orderMainPage = new OrderMainPage(pageInAnotherTab); Assert.IsFalse(orderMainPage.IsVisibleHeight()); //ScenarioContext.Current.Pending(); }
public void ThenISeeHeightIs(string height) { OrderMainPage orderMainPage = new OrderMainPage(pageInAnotherTab); if (Convert.ToInt32(height) > 0) { Assert.AreEqual(orderMainPage.getHeight(), height); } else { Assert.IsFalse(orderMainPage.IsVisibleHeight()); } //ScenarioContext.Current.Pending(); }