public void GivenIEnterLoginCredentials(string validity) { LoginConfiguration credentials = new LoginConfiguration(); if (validity == "valid") { credentials = credentials.ValidCredentials(); } _loginFormActions.LoginUserAccount(credentials); }
public void GivenIAccessMyAccount() { _commonStepHelper.AccessWebsite("login"); CookieOverlayActions.ClearCookieOverlay(); _loginFormActions.LoginUserAccount(_credentials.ValidCredentials()); }