public void ThenTheFrameworkLabelIsPresent()
        {
            SearchApprenticeshipPage apprenticeshipSearchPage = new SearchApprenticeshipPage(webDriver);

            apprenticeshipSearchPage.FrameworkLabel();
        }
        public void SelectTheApprenticeship()
        {
            SearchApprenticeshipPage apprenticeshipSearchPage = new SearchApprenticeshipPage(webDriver);

            apprenticeshipSearchPage.SelectApprenticeship();
        }
        public void DisplaysTheApprenticeshipDetails()
        {
            SearchApprenticeshipPage apprenticeshipSearchPage = new SearchApprenticeshipPage(webDriver);

            apprenticeshipSearchPage.ConfirmApprenticeshipDetail();
        }
        public void ThenTheResultsAreDisplayed()
        {
            SearchApprenticeshipPage apprenticeshipSearchPage = new SearchApprenticeshipPage(webDriver);

            apprenticeshipSearchPage.ResultsReturned();
        }
        public void ThenTheNoResultsErrorMessageIsDisplayed()
        {
            SearchApprenticeshipPage apprenticeshipSearchPage = new SearchApprenticeshipPage(webDriver);

            apprenticeshipSearchPage.NoResultsMsg();
        }
        public void WhenIUseApprenticeshipSearchToSearchForTest(string searchTerm)
        {
            SearchApprenticeshipPage apprenticeshipSearchPage = new SearchApprenticeshipPage(webDriver);

            apprenticeshipSearchPage.EnterSearchTerm(searchTerm);
        }
Example #7
0
        public void GivenIHaveSelectedAnApprenticeship()
        {
            SearchApprenticeshipPage searchApprenticeshipPage = new SearchApprenticeshipPage(webDriver);

            searchApprenticeshipPage.SelectApprenticeship();
        }