Commit 8196cacfea073604f91cd42de53df6ffd20034ec

Authored by Rodrigo Souto
1 parent 07f66267

comment-feature: remove useless test

The test wasn't testing the order at all.
Showing 1 changed file with 0 additions and 38 deletions   Show diff stats
features/comment.feature
@@ -97,41 +97,3 @@ Feature: comment @@ -97,41 +97,3 @@ Feature: comment
97 Given I am on /booking/article-to-comment 97 Given I am on /booking/article-to-comment
98 And I follow "Post a comment" 98 And I follow "Post a comment"
99 Then "Post a comment" should not be visible within "#article" 99 Then "Post a comment" should not be visible within "#article"
100 -  
101 - @selenium  
102 - Scenario: the newest post from a forum should be displayed first.  
103 - Given the following users  
104 - | login | name |  
105 - | joaosilva | Joao Silva |  
106 - And the following forums  
107 - | owner | name |  
108 - | joaosilva | Forum |  
109 - And the following articles  
110 - | owner | name | parent |  
111 - | joaosilva | Post one | Forum |  
112 - And the following comments  
113 - | article | author | title | body |  
114 - | Post one | joaosilva | Hi all | Hi all |  
115 - | Post one | joaosilva | Hello | Hello |  
116 - When I go to /joaosilva/forum/post-one  
117 - And I select "Newest first" from "comment_order" within ".comment-order"  
118 - Then I should see "Hello" within ".article-comment"  
119 -  
120 - @selenium  
121 - Scenario: the oldest post from a forum should be displayed first.  
122 - Given the following users  
123 - | login | name |  
124 - | joaosilva | Joao Silva |  
125 - And the following forums  
126 - | owner | name |  
127 - | joaosilva | Forum |  
128 - And the following articles  
129 - | owner | name | parent |  
130 - | joaosilva | Post one | Forum |  
131 - And the following comments  
132 - | article | author | title | body |  
133 - | Post one | joaosilva | Hi all | Hi all |  
134 - | Post one | joaosilva | Hello | Hello |  
135 - When I go to /joaosilva/forum/post-one  
136 - And I select "Oldest first" from "comment_order" within ".comment-order"  
137 - Then I should see "Hi all" within ".article-comment"