コード例 #1
0
ファイル: LoginFeature.cs プロジェクト: LogoFX/Samples.WinRT
        public void NavigateToTheMainScreenWheTheLoginIsSuccessful()
        {
            var userName = "******";

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

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

            MainSteps.ThenApplicationNavigatesToTheMainScreen();
        }
コード例 #2
0
 public void GivenIAmAbleToLogInSuccessfullyWithUsername(string userName)
 {
     GivenLoginSteps.SetupAuthenticatedUserWithUsername(userName);
     GivenLoginSteps.SetupLoginSuccessfullyWithUsername(userName);
 }