public void AvailableMenuButtonsInDashboard() { LoginPage loginuser = new LoginPage(this.driver); loginuser.LoginUser("*****@*****.**", "P@ssw@rd"); loginuser.AssertLoginUser(); ArticlesDashboard dash = new ArticlesDashboard(this.driver); dash.AssertPageUrl(); dash.AssertAvailableCreateButton(); dash.AssertAvailableLogOutButton(); dash.AssertAvailableManageUserButton(); dash.AssertFunctionalMenuButtons(); }
public void ArticleViewBackButtonDashboard() { LoginPage loginuser = new LoginPage(this.driver); loginuser.LoginUser("*****@*****.**", "P@ssw@rd"); loginuser.AssertLoginUser(); CreateArticle newArticle = new CreateArticle(this.driver); newArticle.ArticleNavigateTo(); newArticle.ArticleCreate("qwertyPetyaBack", "browserPetyaBack"); ArticlesDashboard dash = new ArticlesDashboard(this.driver); dash.ViewArticleByTitle("qwertyPetyaBack"); dash.BackButtonArticle.Click(); dash.AssertPageUrl(); dash.LogOut.Click(); dash.AssertAvailableLoginButton(); }