Exemple #1
0
        public void NavigateToTheMainScreenWheTheLoginIsSuccessful()
        {
            var userName = "******";

            GivenLoginSteps.SetupAuthenticatedUserWithUsername(userName);
            GivenLoginSteps.SetupLoginSuccessfullyWithUsername(userName);

            GeneralSteps.WhenIOpenTheApplication();
            LoginSteps.WhenISetTheUsernameTo(userName);
            LoginSteps.WhenILogInToTheSystem();

            MainSteps.ThenApplicationNavigatesToTheMainScreen();
        }
Exemple #2
0
 public void GivenIAmAbleToLogInSuccessfullyWithUsername(string userName)
 {
     GivenLoginSteps.SetupAuthenticatedUserWithUsername(userName);
     GivenLoginSteps.SetupLoginSuccessfullyWithUsername(userName);
 }