Commit f3fb8dc4d4cec0f8c6fbf3fd20b888b2e0bad318
1 parent
9a388fc2
Exists in
master
and in
27 other branches
suggest-article: using selenium to run test that depends on js
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
features/suggest_article.feature
... | ... | @@ -12,6 +12,7 @@ Feature: suggest article |
12 | 12 | | sample-community | Sample Community | |
13 | 13 | And "Joao Silva" is admin of "Sample Community" |
14 | 14 | |
15 | + @selenium | |
15 | 16 | Scenario: highlight an article before approval of a suggested article |
16 | 17 | Given someone suggested the following article to be published |
17 | 18 | | target | article_name | article_body | name | email | |
... | ... | @@ -19,6 +20,7 @@ Feature: suggest article |
19 | 20 | When I am logged in as "joaosilva" |
20 | 21 | And I go to sample-community's control panel |
21 | 22 | And I follow "Process requests" |
23 | + And I choose "Accept" | |
22 | 24 | And I should see "suggested the publication of the article" |
23 | 25 | Then I should see "Highlight this article" within ".task_box" |
24 | 26 | ... | ... |