Commit 5729cb10a8120fab19035f268438fffd0f7afc76
1 parent
bfb56ef4
Exists in
staging
and in
42 other branches
approve_article.feature
Showing
1 changed file
with
9 additions
and
9 deletions
Show diff stats
features/approve_article.feature
| @@ -23,12 +23,12 @@ Feature: approve article | @@ -23,12 +23,12 @@ Feature: approve article | ||
| 23 | Scenario: edit an article before approval | 23 | Scenario: edit an article before approval |
| 24 | Given I am logged in as "mariasilva" | 24 | Given I am logged in as "mariasilva" |
| 25 | And I am on Maria Silva's homepage | 25 | And I am on Maria Silva's homepage |
| 26 | - When I follow "Spread" and wait | 26 | + When I follow "Spread" |
| 27 | And I check "Sample Community" | 27 | And I check "Sample Community" |
| 28 | And I press "Spread this" | 28 | And I press "Spread this" |
| 29 | And I am logged in as "joaosilva" | 29 | And I am logged in as "joaosilva" |
| 30 | - And I go to Sample Community's control panel | ||
| 31 | - And I follow "Process requests" and wait | 30 | + And I go to sample-community's control panel |
| 31 | + And I follow "Process requests" | ||
| 32 | And I fill in "Text" with "This is an article edited" | 32 | And I fill in "Text" with "This is an article edited" |
| 33 | And I choose "Accept" | 33 | And I choose "Accept" |
| 34 | And I press "Apply!" | 34 | And I press "Apply!" |
| @@ -41,12 +41,12 @@ Feature: approve article | @@ -41,12 +41,12 @@ Feature: approve article | ||
| 41 | Given I am logged in as "mariasilva" | 41 | Given I am logged in as "mariasilva" |
| 42 | And I go to Maria Silva's cms | 42 | And I go to Maria Silva's cms |
| 43 | And I follow "Sample Article" | 43 | And I follow "Sample Article" |
| 44 | - And I follow "Spread" and wait | 44 | + And I follow "Spread" |
| 45 | And I check "Sample Community" | 45 | And I check "Sample Community" |
| 46 | And I press "Spread this" | 46 | And I press "Spread this" |
| 47 | And I am logged in as "joaosilva" | 47 | And I am logged in as "joaosilva" |
| 48 | - And I go to Sample Community's control panel | ||
| 49 | - And I follow "Process requests" and wait | 48 | + And I go to sample-community's control panel |
| 49 | + And I follow "Process requests" | ||
| 50 | And I choose "Reject" | 50 | And I choose "Reject" |
| 51 | And I fill in "Rejection explanation" with "This is not an appropriate article for this community." | 51 | And I fill in "Rejection explanation" with "This is not an appropriate article for this community." |
| 52 | And I press "Apply!" | 52 | And I press "Apply!" |
| @@ -57,14 +57,14 @@ Feature: approve article | @@ -57,14 +57,14 @@ Feature: approve article | ||
| 57 | Scenario: reject an article that was removed | 57 | Scenario: reject an article that was removed |
| 58 | Given I am logged in as "mariasilva" | 58 | Given I am logged in as "mariasilva" |
| 59 | And I follow "Dub Wars" | 59 | And I follow "Dub Wars" |
| 60 | - And I follow "Spread" and wait | 60 | + And I follow "Spread" |
| 61 | And I check "Sample Community" | 61 | And I check "Sample Community" |
| 62 | And I press "Spread this" | 62 | And I press "Spread this" |
| 63 | And I follow "Delete" | 63 | And I follow "Delete" |
| 64 | And I press "Yes, I want." | 64 | And I press "Yes, I want." |
| 65 | When I am logged in as "joaosilva" | 65 | When I am logged in as "joaosilva" |
| 66 | - And I go to Sample Community's control panel | ||
| 67 | - And I follow "Process requests" and wait | 66 | + And I go to sample-community's control panel |
| 67 | + And I follow "Process requests" | ||
| 68 | And I choose "Reject" | 68 | And I choose "Reject" |
| 69 | And I fill in "Rejection explanation" with "Article was removed." | 69 | And I fill in "Rejection explanation" with "Article was removed." |
| 70 | And I press "Apply!" | 70 | And I press "Apply!" |