Created
October 25, 2011 12:30
-
-
Save benmiles/1312575 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mock-article | |
Feature: Jobs box on article pages [JOBS-3540] | |
In order to see recently posted jobs | |
As a user | |
I want to see a standard jobs box in the right hand column of article pages | |
Scenario: Viewing jobs box | |
Given a viewable article has been syndicated | |
And more than one page of active jobs exists | |
When I go to view the new article | |
Then there should be a jobs box in the right sidebar | |
And the jobs box should contain 3 jobs | |
And I should see "Science jobs from nature jobs" | |
And I should see a link "Post a free job" which goes to the new job page | |
And I should see a link "More science jobs" which goes to the jobs index page | |
Scenario: Job details inside jobs box | |
Given a viewable article has been syndicated | |
And the jobs to be displayed in the jobs box are the following: | |
| title | employer | | |
| First job | Employer 1 | | |
| Second job | Employer 2 | | |
| Third job | Employer 3 | | |
When I go to view the new article | |
Then I should see a link to the job with title "First job" | |
And I should see "Employer 1" | |
And I should see a link to the job with title "Second job" | |
And I should see "Employer 2" | |
And I should see a link to the job with title "Third job" | |
And I should see "Employer 3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment