Commit 30de387537efca8aefe47a8bfc97e86b9a652dd9
1 parent
5cbd268c
Exists in
master
and in
22 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 | 10 | | owner | name | |
| 11 | 11 | | booking | article to comment | |
| 12 | 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 | 19 | Given I am on /booking/article-to-comment |
| 20 | 20 | When I follow "Reply" within ".comment-balloon" |
| 21 | 21 | Then I should not see "Enter your comment" within "div.comment-balloon" |
| ... | ... | @@ -40,29 +40,29 @@ Feature: comment |
| 40 | 40 | Then I should not see "Enter your comment" within "div.comment-balloon" |
| 41 | 41 | And I should see "Reply" within "div.comment-balloon" |
| 42 | 42 | |
| 43 | - @selenium | |
| 43 | + @selenium | |
| 44 | 44 | Scenario: render reply form |
| 45 | 45 | Given I am on /booking/article-to-comment |
| 46 | 46 | When I follow "Reply" within ".comment-balloon" |
| 47 | 47 | Then I should see "Enter your comment" within "div.comment_reply.opened" |
| 48 | 48 | |
| 49 | - @selenium | |
| 49 | + @selenium | |
| 50 | 50 | Scenario: cancel comment reply |
| 51 | 51 | Given I am on /booking/article-to-comment |
| 52 | 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 | 54 | Then I should see "Enter your comment" within "div.comment_reply.closed" |
| 55 | 55 | |
| 56 | - @selenium | |
| 56 | + @selenium | |
| 57 | 57 | Scenario: not render same reply form twice |
| 58 | 58 | Given I am on /booking/article-to-comment |
| 59 | 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 | 61 | And I follow "Reply" within ".comment-balloon" |
| 62 | 62 | Then there should be 1 "comment_form" within "comment_reply" |
| 63 | 63 | And I should see "Enter your comment" within "div.comment_reply.opened" |
| 64 | 64 | |
| 65 | - @selenium | |
| 65 | + @selenium | |
| 66 | 66 | Scenario: reply a comment |
| 67 | 67 | Given I am logged in as "booking" |
| 68 | 68 | And I go to /booking/another-article |
| ... | ... | @@ -79,9 +79,9 @@ Feature: comment |
| 79 | 79 | | owner | file | mime | |
| 80 | 80 | | booking | rails.png | image/png | |
| 81 | 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 | 85 | And I go to /booking/rails.png?view=true |
| 86 | 86 | And I follow "Reply" within ".comment-balloon" |
| 87 | 87 | And I fill in "Title" within "comment-balloon" with "Hey ho, let's go!" | ... | ... |