Пример #1
0
 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();
     }
 }
Пример #2
0
 public void GivenAdminLoggedIn()
 {
     WebDriver.Navigate().GoToUrl(DREAM_HOME_ADM_VAL);
     if (WebDriver.Url.Equals(LOGIN_ADMiN_VAL))
     {
         loginPg.InputLogin("*****@*****.**");
         loginPg.InputPass("zzc0fr4q");
         loginPg.ClickSignIn();
     }
 }