Commit 30de387537efca8aefe47a8bfc97e86b9a652dd9
1 parent
5cbd268c
Exists in
master
and in
23 other branches
Fixing indentation
(ActionItem1771)
Showing
1 changed file
with
14 additions
and
14 deletions
Show diff stats
features/comment_reply.feature
| @@ -10,12 +10,12 @@ Feature: comment | @@ -10,12 +10,12 @@ Feature: comment | ||
| 10 | | owner | name | | 10 | | owner | name | |
| 11 | | booking | article to comment | | 11 | | booking | article to comment | |
| 12 | | booking | another article | | 12 | | booking | another article | |
| 13 | - And the following comments | ||
| 14 | - | article | author | title | body | | ||
| 15 | - | article to comment | booking | root comment | this comment is not a reply | | ||
| 16 | - | another article | booking | some comment | this is my very own comment | | 13 | + And the following comments |
| 14 | + | article | author | title | body | | ||
| 15 | + | article to comment | booking | root comment | this comment is not a reply | | ||
| 16 | + | another article | booking | some comment | this is my very own comment | | ||
| 17 | 17 | ||
| 18 | - Scenario: not post a comment without javascript | 18 | + Scenario: not post a comment without javascript |
| 19 | Given I am on /booking/article-to-comment | 19 | Given I am on /booking/article-to-comment |
| 20 | When I follow "Reply" within ".comment-balloon" | 20 | When I follow "Reply" within ".comment-balloon" |
| 21 | Then I should not see "Enter your comment" within "div.comment-balloon" | 21 | Then I should not see "Enter your comment" within "div.comment-balloon" |
| @@ -40,29 +40,29 @@ Feature: comment | @@ -40,29 +40,29 @@ Feature: comment | ||
| 40 | Then I should not see "Enter your comment" within "div.comment-balloon" | 40 | Then I should not see "Enter your comment" within "div.comment-balloon" |
| 41 | And I should see "Reply" within "div.comment-balloon" | 41 | And I should see "Reply" within "div.comment-balloon" |
| 42 | 42 | ||
| 43 | - @selenium | 43 | + @selenium |
| 44 | Scenario: render reply form | 44 | Scenario: render reply form |
| 45 | Given I am on /booking/article-to-comment | 45 | Given I am on /booking/article-to-comment |
| 46 | When I follow "Reply" within ".comment-balloon" | 46 | When I follow "Reply" within ".comment-balloon" |
| 47 | Then I should see "Enter your comment" within "div.comment_reply.opened" | 47 | Then I should see "Enter your comment" within "div.comment_reply.opened" |
| 48 | 48 | ||
| 49 | - @selenium | 49 | + @selenium |
| 50 | Scenario: cancel comment reply | 50 | Scenario: cancel comment reply |
| 51 | Given I am on /booking/article-to-comment | 51 | Given I am on /booking/article-to-comment |
| 52 | When I follow "Reply" within ".comment-balloon" | 52 | When I follow "Reply" within ".comment-balloon" |
| 53 | - And I follow "Cancel" within ".comment-balloon" | 53 | + And I follow "Cancel" within ".comment-balloon" |
| 54 | Then I should see "Enter your comment" within "div.comment_reply.closed" | 54 | Then I should see "Enter your comment" within "div.comment_reply.closed" |
| 55 | 55 | ||
| 56 | - @selenium | 56 | + @selenium |
| 57 | Scenario: not render same reply form twice | 57 | Scenario: not render same reply form twice |
| 58 | Given I am on /booking/article-to-comment | 58 | Given I am on /booking/article-to-comment |
| 59 | When I follow "Reply" within ".comment-balloon" | 59 | When I follow "Reply" within ".comment-balloon" |
| 60 | - And I follow "Cancel" within ".comment-balloon" | 60 | + And I follow "Cancel" within ".comment-balloon" |
| 61 | And I follow "Reply" within ".comment-balloon" | 61 | And I follow "Reply" within ".comment-balloon" |
| 62 | Then there should be 1 "comment_form" within "comment_reply" | 62 | Then there should be 1 "comment_form" within "comment_reply" |
| 63 | And I should see "Enter your comment" within "div.comment_reply.opened" | 63 | And I should see "Enter your comment" within "div.comment_reply.opened" |
| 64 | 64 | ||
| 65 | - @selenium | 65 | + @selenium |
| 66 | Scenario: reply a comment | 66 | Scenario: reply a comment |
| 67 | Given I am logged in as "booking" | 67 | Given I am logged in as "booking" |
| 68 | And I go to /booking/another-article | 68 | And I go to /booking/another-article |
| @@ -79,9 +79,9 @@ Feature: comment | @@ -79,9 +79,9 @@ Feature: comment | ||
| 79 | | owner | file | mime | | 79 | | owner | file | mime | |
| 80 | | booking | rails.png | image/png | | 80 | | booking | rails.png | image/png | |
| 81 | And the following comment | 81 | And the following comment |
| 82 | - | article | author | title | body | | ||
| 83 | - | rails.png | booking | root comment | this comment is not a reply | | ||
| 84 | - Given I am logged in as "booking" | 82 | + | article | author | title | body | |
| 83 | + | rails.png | booking | root comment | this comment is not a reply | | ||
| 84 | + Given I am logged in as "booking" | ||
| 85 | And I go to /booking/rails.png?view=true | 85 | And I go to /booking/rails.png?view=true |
| 86 | And I follow "Reply" within ".comment-balloon" | 86 | And I follow "Reply" within ".comment-balloon" |
| 87 | And I fill in "Title" within "comment-balloon" with "Hey ho, let's go!" | 87 | And I fill in "Title" within "comment-balloon" with "Hey ho, let's go!" |