public void CreateReferral() { _startPage.AssertContent(); var proximityIndexPage = _startPage.ClickStart(); proximityIndexPage.AssertContent(); proximityIndexPage.EnterPostcode("CV1 2WT"); var proximityResultsPage = proximityIndexPage.ClickSearch(); proximityResultsPage.AssertContent(); var placementInformationPage = proximityResultsPage.ClickNoSuitableProvidersLink(); placementInformationPage.AssertContent(); placementInformationPage.SelectReasonNoProvider(); placementInformationPage.SelectPlacementsKnown(); var findEmployerPage = placementInformationPage.ClickContinue(); findEmployerPage.AssertContent(); findEmployerPage = findEmployerPage.EnterCompanyName("Company Name For Selection"); var detailsPage = findEmployerPage.ClickContinue(); detailsPage.AssertContent(); var opportunityBasketPage = detailsPage.ClickConfirmToOpprunityBasket(); opportunityBasketPage.AssertContent(); opportunityBasketPage.ClickFinish(); }
public void CreateReferral() { _startPage.AssertContent(); var opportunityProximityIndexPage = _startPage.ClickStart(); opportunityProximityIndexPage.AssertContent(); opportunityProximityIndexPage.EnterPostcode("CV1 2WT"); var opportunityProximityResultsPage = opportunityProximityIndexPage.ClickSearch(); opportunityProximityResultsPage.AssertContent(); opportunityProximityResultsPage.SelectProvider(); var placementInformationPage = opportunityProximityResultsPage.ClickContinue(); placementInformationPage.AssertContent(); placementInformationPage.SelectPlacementsKnown(); var findEmployerPage = placementInformationPage.ClickContinue(); findEmployerPage.AssertContent(); findEmployerPage = findEmployerPage.EnterCompanyName("Company Name For Selection"); var detailsPage = findEmployerPage.ClickContinue(); detailsPage.AssertContent(); var checkAnswersPage = detailsPage.ClickConfirm(); checkAnswersPage.AssertContent(); var opportunityBasketPage = checkAnswersPage.ClickConfirm(); opportunityBasketPage.AssertContent(); //TODO: Add the following lines back - not working due BulkUpdate added by TLWP-962 //var employerConsentPage = opportunityBasketPage.ClickContinue(); //employerConsentPage.AssertContent(); //employerConsentPage = employerConsentPage.SelectConfirmationSelected(); //var referralEmailSentPage = employerConsentPage.ClickConfirm(); //referralEmailSentPage.AssertContent(); }