Example #1
0
 public void CheckFirstArticleCantBeEditedWhenUserIsNotRegistered()
 {
     CheckWeAreOnHomePage();
     homePage.ClickOnFirstArticle();
     Assert.AreEqual("Hello I am new here and try functionality!!!!!!!", articleDetailsPage.FirstArticleText.Text);
     articleDetailsPage.ClickOnEditButton();
     Assert.AreEqual("Log in", loginPage.LoginPageTitle.Text);
 }