예제 #1
0
        public void ThenINotSeeHeight()
        {
            OrderMainPage orderMainPage = new OrderMainPage(pageInAnotherTab);

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