public void GivenUserLoggedInAsAdminWithEmailAndPassword(string p0, string p1) { WebDriver.Navigate().GoToUrl(DREAM_HOME_ADM_VAL); if (WebDriver.Url.Equals(LoginAdminUrl)) { loginPg.InputLogin(p0); loginPg.InputPass(p1); loginPg.ClickSignIn(); } }
public void GivenAdminLoggedIn() { WebDriver.Navigate().GoToUrl(DREAM_HOME_ADM_VAL); if (WebDriver.Url.Equals(LOGIN_ADMiN_VAL)) { loginPg.InputLogin("*****@*****.**"); loginPg.InputPass("zzc0fr4q"); loginPg.ClickSignIn(); } }