public void FacebookLogonViaNotificationsMenu() { App = new UnitTestApp(); var authenticationSteps = new AuthenticationSteps(ScenarioContext.Current); authenticationSteps.GivenIAmNotAuthenticated(); var navigationSteps = new NavigationSteps(ScenarioContext.Current); navigationSteps.ThenIAmRedirectedToThePage("WikiPage"); var homePageSteps = new HomePageSteps(ScenarioContext.Current); homePageSteps.GivenTheMenuDetailIsClosed(); homePageSteps.WhenITapTheHanburgerIcon(); homePageSteps.ThenIShouldSeeTheMenuDetailIsOpened(); var notificationsPageSteps = new NotificationsPageSteps(ScenarioContext.Current); notificationsPageSteps.WhenITapTheNotificationsFromTheMenuDetail(); navigationSteps.ThenIAmRedirectedToThePage("LogonPage"); var loginSteps = new LogonPageSteps(ScenarioContext.Current); loginSteps.WhenITapTheLoginWithFacebookButtonWithMobileAccount(LOGONUSERMOBILE); }
public void BeforeScenario() { AuthenticatedAlreadyOrNot(false); AppInitsHolder.IsWelcomeInstructionsLoaded = true; Xamarin.Forms.Mocks.MockForms.Init(); App = new UnitTestApp(); }
public void OnResumeLogon() { AuthenticatedAlreadyOrNot(true); UserAndPasswordSavedAlreadyOrNot(true); App = new UnitTestApp(); App.OnResumePublic().Wait(); }
public void OnResumeLogonAndPushedDateNotExpired() { AuthenticatedAlreadyOrNot(true); UserAndPasswordSavedAlreadyOrNot(true); AppInitsHolder.NotificationsPushedDateSaved = DateTime.Now; App = new UnitTestApp(); App.OnResumePublic().Wait(); }
public void FirstTimeLaunch() { //chito.manually set the welcome instruction to be not loaded yet AppInitsHolder.IsWelcomeInstructionsLoaded = false; App = new UnitTestApp(); }