From f3fb8dc4d4cec0f8c6fbf3fd20b888b2e0bad318 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Thu, 29 May 2014 15:57:44 +0000 Subject: [PATCH] suggest-article: using selenium to run test that depends on js --- features/suggest_article.feature | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/features/suggest_article.feature b/features/suggest_article.feature index dc0f5ac..d968a43 100644 --- a/features/suggest_article.feature +++ b/features/suggest_article.feature @@ -12,6 +12,7 @@ Feature: suggest article | sample-community | Sample Community | And "Joao Silva" is admin of "Sample Community" + @selenium Scenario: highlight an article before approval of a suggested article Given someone suggested the following article to be published | target | article_name | article_body | name | email | @@ -19,6 +20,7 @@ Feature: suggest article When I am logged in as "joaosilva" And I go to sample-community's control panel And I follow "Process requests" + And I choose "Accept" And I should see "suggested the publication of the article" Then I should see "Highlight this article" within ".task_box" -- libgit2 0.21.2