public void FacebookLogonViaWriteYourToughtsMenu() { 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 postFeedPageSteps = new PostFeedPageSteps(ScenarioContext.Current); postFeedPageSteps.WhenITapTheWriteDownIconFromTheMenuDetail(); navigationSteps.ThenIAmRedirectedToThePage("LogonPage"); var loginSteps = new LogonPageSteps(ScenarioContext.Current); loginSteps.WhenITapTheLoginWithFacebookButtonWithMobileAccount(LOGONUSERMOBILE); }
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 FacebookLogonViaCrisisMenu() { 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 crisisPageSteps = new CrisisHotlineListPageSteps(ScenarioContext.Current); crisisPageSteps.WhenITapTheCrisisIconFromTheMenuDetail(); navigationSteps.ThenIAmRedirectedToThePage("LogonPage"); var loginSteps = new LogonPageSteps(ScenarioContext.Current); loginSteps.WhenITapTheLoginWithFacebookButtonWithAccount(LOGONUSEREMAIL); }