コード例 #1
0
        public void RegisterUser()
        {
            _loginSteps = new LoginSteps(_driver);
            _loginSteps.NavigateTo(Constants.ProdEnvUrl);
            var email = Randomiser.RandomString(6) + "@gmail.com";

            _loginSteps.InsertLoginDetails(LoginPage.Username, Constants.Password, email);
            AbstractSteps.VerifyTrue("Authentication failed!", _loginSteps.CheckIfRegistrationIsSuccessful());
        }