Ejemplo n.º 1
0
        public void ThenTheProvidersPageWillDisplayZeroResultsForTheHHeading(int p0)
        {
            ProviderResultsOnlyPage providerResultsOnlyPage = new ProviderResultsOnlyPage(webDriver);

            providerResultsOnlyPage.VerifyZeroResultsCount();
            providerResultsOnlyPage.VerifysHeadingShowsResultsForZeroResults();
        }
Ejemplo n.º 2
0
        public void ThenTheSelectProvidersPageWillDisplayTheCountResultAndRouteInTheHHeading(int p0)
        {
            ProviderResultsOnlyPage providerResultsOnlyPage = new ProviderResultsOnlyPage(webDriver);

            providerResultsOnlyPage.VerifysHeadingShowsResultsFor();
            providerResultsOnlyPage.VerifySkillsetDisplayed(Constants.skillAreaFilter1);
        }
Ejemplo n.º 3
0
        public void ThenIShouldSeeProviderResultsDisplayedOnlyForOneRoute()
        {
            ProviderResultsHelper.AllProviders_OneSkillArea();
            int providerResultsReturned = ScenarioContext.Current.Get <int>("SearchResultsCount");
            ProviderResultsOnlyPage providerResultsOnlyPage = new ProviderResultsOnlyPage(webDriver);

            providerResultsOnlyPage.VerifyProviderResultsReturnedAreCorrect(providerResultsReturned);
        }
Ejemplo n.º 4
0
        public void ThenTheProvidersPageWillDisplayTheCountAndTextResultInTheHHeading(int p0)
        {
            ProviderResultsOnlyPage providerResultsOnlyPage = new ProviderResultsOnlyPage(webDriver);

            providerResultsOnlyPage.VerifyOneResultCount();
            providerResultsOnlyPage.VerifysHeadingShowsResultFor();
            providerResultsOnlyPage.VerifySkillsetDisplayed(Constants.oneResultskillArea);
        }
Ejemplo n.º 5
0
        public void ThenTheSelectProvidersPageWillDisplayTheCountResultAndRoutesInTheHHeading(int p0)
        {
            ProviderResultsHelper.AllProviders_TwoSkillArea();
            int providerResultsReturned = ScenarioContext.Current.Get <int>("SearchResultsCount");
            ProviderResultsOnlyPage providerResultsOnlyPage = new ProviderResultsOnlyPage(webDriver);

            providerResultsOnlyPage.VerifyProviderResultsReturnedAreCorrect(providerResultsReturned);
            providerResultsOnlyPage.VerifysHeadingShowsResultsFor();
            providerResultsOnlyPage.VerifySkillsetDisplayed(Constants.skillAreaFilter1 + " and " + Constants.skillAreaFilter2);
        }
Ejemplo n.º 6
0
        public void ThenTheSelectProvidersPageWillDisplayTheCountAndResultInTheHHeading(int p0)
        {
            ProviderResultsOnlyPage providerResultsOnlyPage = new ProviderResultsOnlyPage(webDriver);

            providerResultsOnlyPage.VerifysHeadingShowsResults();
        }
Ejemplo n.º 7
0
 public void WhenIFilterProviderResultsForOneMoreRoute()
 {
     ProviderResultsOnlyPage providerResultsOnlyPage = new ProviderResultsOnlyPage(webDriver)
                                                       .SelectRouteAndFilterResults("Business and administration");
 }
Ejemplo n.º 8
0
 public void WhenIFilterProviderResultsForOneRoute()
 {
     ProviderResultsOnlyPage providerResultsOnlyPage = new ProviderResultsOnlyPage(webDriver)
                                                       .SelectRouteAndFilterResults("Agriculture, environmental and animal care");
 }