コード例 #1
0
        public void CheckIfCreateButtonIsNotDisplyedArticlePage()
        {
            var articleNodeView = new ArticleDetailsPage(driver);

            articleNodeView.NavigateToFirstArticle();
            articleNodeView.AssertCreateButtonIsMissing();
        }
コード例 #2
0
        public void CheckIf2017SoftUniBlogTextIsPresentArticlePage()
        {
            var articleNodeView = new ArticleDetailsPage(driver);

            articleNodeView.NavigateToFirstArticle();
            articleNodeView.ClickSoftuniBlogButton();
            articleNodeView.AssertYouAreOnHomePage("SOFTUNI BLOG");
        }
コード例 #3
0
        public void CheckIfEditButtonInArticleIsRedirectingToLoginPage()
        {
            var articleNodeView = new ArticleDetailsPage(driver);

            articleNodeView.NavigateToFirstArticle();
            articleNodeView.ClickLoginButton();
            articleNodeView.AssertYouAreOnLoginPage("Log in");
        }