Example #1
0
        public void CAP_TC1_CreateArticleWithValidData()
        {
            var createArticlePage = new CreateArticlePage(driver);
            var articleContent    = new CreateArticleContent("Test Automation is the key", "Traditional quality assurance has become a bottleneck in the development process and the advancement of test automation. Innovative development teams ...");

            createArticlePage.NavigateTo();
            createArticlePage.FillCreateArticleForm(articleContent);

            createArticlePage.AssertCreateArticleWithValidData("Test Automation is the key");
        }
Example #2
0
 public void FillCreateArticleForm(CreateArticleContent articleContent)
 {
     Type(Title, articleContent.Title);
     Type(Content, articleContent.Content);
     CreateArticleButton.Click();
 }