public void Login_On_SignIn_Page_One() { _driverCover.NavigateToUrl(_driverCover.BaseUrl + "web-users/sign-in"); SignInPageOneObj signInOne = new SignInPageOneObj(_driver); signInOne.FillInFields(_driverCover.Login, _driverCover.Password); TopBarObj topBar = signInOne.ClickLogInButton(); _usersVerifications.CheckIfSignedIn_Mobile(); }
/// <summary> /// Goes to the front-end and signs in /// </summary> /// <param name="email"></param> /// <param name="password"></param> public string Log_In_Front_PageOne(string email, string password) { _driverCover.NavigateToUrl(_driverCover.BaseUrl + "web-users/sign-in"); SignInPageOneObj signInOne = new SignInPageOneObj(_driver); signInOne.FillInFields(email, password); signInOne.ClickLogInButton(); return email; }