Пример #1
0
        public void ZFSS_FUN_1()
        {
            driver.Navigate().GoToUrl(Configuration.URL);
            if (!helper.IsDisplayed(pageObjects.LoginPage.Login))
            {
                Assert.Fail();
            }

            pageObjects.LoginPage.LogIn();
        }
Пример #2
0
        public void ZFSS_DYM_1()
        {
            driver.Navigate().GoToUrl(Configuration.URL);
            var assertions = new List <bool>();

            assertions.Add(helper.IsDisplayed(pageObjects.LoginPage.Username) && helper.IsDisplayed(pageObjects.LoginPage.Username));
            assertions.Add(helper.IsDisplayed(pageObjects.LoginPage.Password) && helper.IsDisplayed(pageObjects.LoginPage.Password));
            assertions.Add(helper.IsDisplayed(pageObjects.LoginPage.Login) && helper.IsDisplayed(pageObjects.LoginPage.Login));
            Assert.True(assertions.TrueForAll(a => a == true));
        }