Exemplo n.º 1
0
 public void CreateArticle()
 {
     CheckSuccessfulSignIn();
     homePage.ClickOnCreateButton();
     Assert.AreEqual("Create Article", createArticlePage.CreateArticlePageTitle.Text);
     createArticlePage.EnterTitle("test");
     createArticlePage.EnterContent("test test test");
     createArticlePage.ClickCreateButton();
     CheckWeAreOnHomePage();
     homePage.CreatedArticleLink.Text.Should().Be("test");
 }