Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SRCH-2299 add integration test for agency job search #734

Merged
merged 1 commit into from
Jun 1, 2021

Conversation

MothOnMars
Copy link
Contributor

This PR adds an integration test for a job search by agency. I realized during the legacy SERP removal that this feature was not well covered by existing tests.

https://search.gov/manual/govbox-jobs.html

Comment on lines -452 to -461
Scenario: Job search
Given the following Affiliates exist:
| display_name | name | contact_email | first_name | last_name | jobs_enabled | search_engine |
| English site | usagov | admin@agency.gov | John | Bar | 1 | BingV7 |
When I am on usagov's mobile search page
And I fill in "Enter your search term" with "jobs"
And I press "Search"
Then I should see "Federal Job Openings"
And I should see an image link to "USAJobs.gov" with url for "https://www.usajobs.gov/"
And I should see a link to "More federal job openings on USAJobs.gov" with url for "https://www.usajobs.gov/Search/Results?hp=public"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This scenario is duplicated in features/mobile_searches.feature.

Copy link
Contributor

@jmax-fearless jmax-fearless left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MothOnMars MothOnMars merged commit b4d1b56 into GSA:master Jun 1, 2021
@MothOnMars MothOnMars deleted the job_feature branch June 1, 2021 14:55
@MyNameIsMissing MyNameIsMissing mentioned this pull request Jun 7, 2021
MyNameIsMissing added a commit that referenced this pull request Jun 7, 2021
Functional
SRCH-2057 remove Super Admin controls for legacy SERP features (#731)

Testing only
SRCH-2308 add specs for NewsSearchHelper#current_time_filter_descript…
SRCH-2299 add integration test for agency job search (#734)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants