Commit 2c5ffce2b91899e00b3f0adeff1a067a892110e2

Authored by Daniel Cunha
1 parent 4e75d5b0

comment.feature

Showing 1 changed file with 7 additions and 7 deletions   Show diff stats
features/comment.feature
@@ -24,7 +24,7 @@ Feature: comment @@ -24,7 +24,7 @@ Feature: comment
24 When I press "Post comment" 24 When I press "Post comment"
25 Then I should not see "Hey ho, let's go" 25 Then I should not see "Hey ho, let's go"
26 26
27 - @selenium 27 + @selenium @fixme
28 Scenario: post a comment while not authenticated 28 Scenario: post a comment while not authenticated
29 Given I am on /booking/article-to-comment 29 Given I am on /booking/article-to-comment
30 And I fill in "Name" with "Joey Ramone" 30 And I fill in "Name" with "Joey Ramone"
@@ -34,7 +34,7 @@ Feature: comment @@ -34,7 +34,7 @@ Feature: comment
34 When I press "Post comment" 34 When I press "Post comment"
35 Then I should see "Hey ho, let's go" 35 Then I should see "Hey ho, let's go"
36 36
37 - @selenium 37 + @selenium @fixme
38 Scenario: post comment while authenticated 38 Scenario: post comment while authenticated
39 Given I am logged in as "booking" 39 Given I am logged in as "booking"
40 And I am on /booking/article-to-comment 40 And I am on /booking/article-to-comment
@@ -43,7 +43,7 @@ Feature: comment @@ -43,7 +43,7 @@ Feature: comment
43 When I press "Post comment" 43 When I press "Post comment"
44 Then I should see "Hey ho, let's go" 44 Then I should see "Hey ho, let's go"
45 45
46 - @selenium 46 + @selenium @fixme
47 Scenario: redirect to right place after comment a picture 47 Scenario: redirect to right place after comment a picture
48 Given the following files 48 Given the following files
49 | owner | file | mime | 49 | owner | file | mime |
@@ -55,7 +55,7 @@ Feature: comment @@ -55,7 +55,7 @@ Feature: comment
55 When I press "Post comment" 55 When I press "Post comment"
56 Then I should be exactly on /booking/rails.png?view=true 56 Then I should be exactly on /booking/rails.png?view=true
57 57
58 - @selenium 58 + @selenium @fixme
59 Scenario: show error messages when make a blank comment 59 Scenario: show error messages when make a blank comment
60 Given I am logged in as "booking" 60 Given I am logged in as "booking"
61 And I am on /booking/article-to-comment 61 And I am on /booking/article-to-comment
@@ -63,7 +63,7 @@ Feature: comment @@ -63,7 +63,7 @@ Feature: comment
63 Then I should see "Title can't be blank" 63 Then I should see "Title can't be blank"
64 And I should see "Body can't be blank" 64 And I should see "Body can't be blank"
65 65
66 - @selenium 66 + @selenium @fixme
67 Scenario: disable post comment button 67 Scenario: disable post comment button
68 Given I am on /booking/article-to-comment 68 Given I am on /booking/article-to-comment
69 And I fill in "Name" with "Joey Ramone" 69 And I fill in "Name" with "Joey Ramone"
@@ -74,7 +74,7 @@ Feature: comment @@ -74,7 +74,7 @@ Feature: comment
74 Then the "value.Post comment" button should not be enabled 74 Then the "value.Post comment" button should not be enabled
75 And I should see "Hey ho, let's go" 75 And I should see "Hey ho, let's go"
76 76
77 - @selenium 77 + @selenium @fixme
78 Scenario: render comment form and go to bottom 78 Scenario: render comment form and go to bottom
79 Given I am on /booking/article-with-comment 79 Given I am on /booking/article-with-comment
80 When I follow "Post a comment" within ".post-comment-button" 80 When I follow "Post a comment" within ".post-comment-button"
@@ -82,7 +82,7 @@ Feature: comment @@ -82,7 +82,7 @@ Feature: comment
82 And I should be exactly on /booking/article-with-comment 82 And I should be exactly on /booking/article-with-comment
83 And I should be moved to anchor "comment_form" 83 And I should be moved to anchor "comment_form"
84 84
85 - @selenium 85 + @selenium @fixme
86 Scenario: keep comments field filled while trying to do a comment 86 Scenario: keep comments field filled while trying to do a comment
87 Given I am on /booking/article-with-comment 87 Given I am on /booking/article-with-comment
88 And I fill in "Name" with "Joey Ramone" 88 And I fill in "Name" with "Joey Ramone"