public void ThenINotSeeWeight() { OrderMainPage orderMainPage = new OrderMainPage(pageInAnotherTab); Assert.IsFalse(orderMainPage.IsVisibleWeigth()); //ScenarioContext.Current.Pending(); }
public void ThenISeeWeightIs(string weigth) { OrderMainPage orderMainPage = new OrderMainPage(pageInAnotherTab); if (Convert.ToInt32(weigth) > 0) { Assert.AreEqual(orderMainPage.getWeigth(), weigth); } else { Assert.IsFalse(orderMainPage.IsVisibleWeigth()); } //ScenarioContext.Current.Pending(); }