public void GivenIConfirmDetailsOnTheCheckAnswersPage()
        {
            ReferralCheckAnswersPage referralCheckAnswersPage = new ReferralCheckAnswersPage(webDriver);

            referralCheckAnswersPage.VerifyChosenProvidersAreDisplayedOnCheckAnswersScreen();
            referralCheckAnswersPage.ConfirmAndSendOpportunity();
        }
        public void ThenTheReferralCheckAnswersScreenWillDisplayTheReferralDetailsEntered()
        {
            ReferralCheckAnswersPage referralCheckAnswersPage = new ReferralCheckAnswersPage(webDriver);

            referralCheckAnswersPage.VerifyEmployersAnswers();
            referralCheckAnswersPage.VerifyChosenProvidersAreDisplayedOnCheckAnswersScreen();
        }
        public void GivenIHaveAddedASingleOpportunity()
        {
            CheckEmployersDetailsPage checkEmployerDetailsPage = new CheckEmployersDetailsPage(webDriver);

            checkEmployerDetailsPage.EnterEmployerContactDetailsAndContinueForAReferralJourney(Constants.testName, Constants.testEmail, Constants.testPhoneNumber)
            .CheckPlacementInformationFirstPass();
            ReferralCheckAnswersPage referralCheckAnswersPage = new ReferralCheckAnswersPage(webDriver);

            referralCheckAnswersPage.VerifyChosenProvidersAreDisplayedOnCheckAnswersScreen();
            referralCheckAnswersPage.ConfirmAndSendOpportunity();
        }
        public void ThenIWillNotBeAskedToSelectTheEmployerNameAgain()
        {
            FindLocalProvidersPage findLocalProvidersPage = new FindLocalProvidersPage(webDriver);

            findLocalProvidersPage.EnterOpportunityDetailsAndSearchForProvidersSecondPass(Constants.skillArea, Constants.postCode)
            .SelectProvidersAndContinue()
            .EnterPlacementInformationClickContinueMoreThanOneOpportunityExists()
            .VerifyChosenProvidersAreDisplayedOnCheckAnswersScreen();
            ReferralCheckAnswersPage referralCheckAnswersPage = new ReferralCheckAnswersPage(webDriver);

            referralCheckAnswersPage.ConfirmAndSendOpportunity()
            .VerifyLatestReferralRecordValues()
            .ContinueWithOpportunityMultipleOpportunities()
            .ConfirmEmployerDetailsAndContinue()
            .FinishReferralJourney();
        }
        public void ThenTheProvidersSelectedWillBeDisplayedOnTheReferralCheckAnswersScreen()
        {
            ReferralCheckAnswersPage referralCheckAnswersPage = new ReferralCheckAnswersPage(webDriver);

            referralCheckAnswersPage.VerifyChosenProvidersAreDisplayedOnCheckAnswersScreen();
        }