Skip to content

Commit

Permalink
Merge pull request #511 from elzj/otwarchive
Browse files Browse the repository at this point in the history
---

Updating series and icon features to match front-end changes
  • Loading branch information
neuroalien committed Mar 4, 2012
2 parents 2107429 + 3838ea6 commit 4e71a7e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion features/icon.feature
Expand Up @@ -12,7 +12,7 @@ Feature: User icons
Scenario: Users can change alt text

Given I have an icon uploaded
When I follow "Edit"
When I follow "Edit Pseud"
And I fill in "pseud_icon_alt_text" with "Some test description"
And I press "Update"
Then I should see the "alt" text "Some test description"
Expand Down
12 changes: 6 additions & 6 deletions features/series.feature
Expand Up @@ -23,7 +23,7 @@ Feature: Create and Edit Series
And I should see "Draft was successfully created"
When I press "Post"
Then I should see "Work was successfully posted"
And I should see "Part 1 of the Ponies series" within "p"
And I should see "Part 1 of the Ponies series" within "li"
And I should see "Part 1 of the Ponies series" within "dd"
When I view the series "Ponies"
Then I should see "Sweetie Belle"
Expand Down Expand Up @@ -87,8 +87,8 @@ Feature: Create and Edit Series
When I press "Update"
Then I should see "Part 1 of the Black Beauty series" within "dd.series"
And I should see "Part 3 of the Many a Pony series" within "dd.series"
And I should see "Part 1 of the Black Beauty series" within "p.series"
And I should see "Part 3 of the Many a Pony series" within "p.series"
And I should see "Part 1 of the Black Beauty series" within "li"
And I should see "Part 3 of the Many a Pony series" within "li"

Scenario: Three ways to add a work to a series: a user with more than one pseud
Given the following activated user exists
Expand All @@ -112,7 +112,7 @@ Feature: Create and Edit Series
When I press "Post"
Then I should see "Work was successfully posted"
And I should see "Pointless Pseud"
And I should see "Part 1 of the Ponies series" within "p"
And I should see "Part 1 of the Ponies series" within "li"
And I should see "Part 1 of the Ponies series" within "dd"
When I view the series "Ponies"
Then I should see "Sweetie Belle"
Expand Down Expand Up @@ -176,8 +176,8 @@ Feature: Create and Edit Series
When I press "Update"
Then I should see "Part 1 of the Black Beauty series" within "dd.series"
And I should see "Part 3 of the Many a Pony series" within "dd.series"
And I should see "Part 1 of the Black Beauty series" within "p.series"
And I should see "Part 3 of the Many a Pony series" within "p.series"
And I should see "Part 1 of the Black Beauty series" within "li"
And I should see "Part 3 of the Many a Pony series" within "li"

Scenario: Post without preview
Given I am logged in as "whoever" with password "whatever"
Expand Down

0 comments on commit 4e71a7e

Please sign in to comment.