public void AssertWelcomeTextDisplayed()
        {
            var locator     = "h1[class='display-4']";
            var boolResults = _homePage.VerifyElementDisplayed(locator);

            Assert.IsTrue(boolResults, $"Welcome message is not displayed");

            _homePage.Shutown();
        }
Exemplo n.º 2
0
        public void NavigateBackToHomePage()
        {
            _homePage = _logoutPage.ClickOnLoginAppLink <HomePage>();
            var titel     = _homePage.GetPageTitel();
            var pageTitel = "Home page - LoginApp";

            Assert.AreEqual(titel, pageTitel);

            _homePage.Shutown();
        }
Exemplo n.º 3
0
        public void AssertUserNavigatesBackToHomePage()
        {
            _homePage = _registerConfirmationPage.ClickOnLoginAppLink <HomePage>();
            var titel     = _homePage.GetPageTitel();
            var pageTitel = "Home page - LoginApp";

            Assert.AreEqual(titel, pageTitel);

            _homePage.Shutown();
        }