Example #1
0
        public void ThenINotSeeWeight()
        {
            OrderMainPage orderMainPage = new OrderMainPage(pageInAnotherTab);

            Assert.IsFalse(orderMainPage.IsVisibleWeigth());
            //ScenarioContext.Current.Pending();
        }
Example #2
0
        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();
        }