Commit aeb0f62041dd26e0c307e5258a353f168147805a
1 parent
35f39301
Exists in
master
and in
27 other branches
forum-feature: add should see to avoid not finding the link to follow
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
features/forum.feature
@@ -14,7 +14,9 @@ Feature: forum | @@ -14,7 +14,9 @@ Feature: forum | ||
14 | Scenario: create a forum | 14 | Scenario: create a forum |
15 | Given I am on joaosilva's control panel | 15 | Given I am on joaosilva's control panel |
16 | And I follow "Manage Content" | 16 | And I follow "Manage Content" |
17 | + And I should see "New content" | ||
17 | And I follow "New content" | 18 | And I follow "New content" |
19 | + And I should see "Forum" | ||
18 | When I follow "Forum" | 20 | When I follow "Forum" |
19 | And I fill in "Title" with "My Forum" | 21 | And I fill in "Title" with "My Forum" |
20 | And I press "Save" | 22 | And I press "Save" |
@@ -97,6 +99,7 @@ Feature: forum | @@ -97,6 +99,7 @@ Feature: forum | ||
97 | And I check "Has terms of use:" | 99 | And I check "Has terms of use:" |
98 | And I press "Save" | 100 | And I press "Save" |
99 | When I follow "New discussion topic" | 101 | When I follow "New discussion topic" |
102 | + And I should see "Text article with visual editor" | ||
100 | And I follow "Text article with visual editor" | 103 | And I follow "Text article with visual editor" |
101 | And I fill in "Title" with "Topic" | 104 | And I fill in "Title" with "Topic" |
102 | And I press "Save" | 105 | And I press "Save" |
@@ -249,6 +252,7 @@ Feature: forum | @@ -249,6 +252,7 @@ Feature: forum | ||
249 | And I am logged in as "mariasilva" | 252 | And I am logged in as "mariasilva" |
250 | And I go to /sample-community/forum | 253 | And I go to /sample-community/forum |
251 | And I follow "New discussion topic" | 254 | And I follow "New discussion topic" |
255 | + And I should see "Text article with visual editor" | ||
252 | And I follow "Text article with visual editor" | 256 | And I follow "Text article with visual editor" |
253 | And I fill in "Title" with "Test" | 257 | And I fill in "Title" with "Test" |
254 | And I press "Save" | 258 | And I press "Save" |
@@ -274,11 +278,13 @@ Feature: forum | @@ -274,11 +278,13 @@ Feature: forum | ||
274 | And I am logged in as "mariasilva" | 278 | And I am logged in as "mariasilva" |
275 | And I go to /sample-community/forum | 279 | And I go to /sample-community/forum |
276 | And I follow "New discussion topic" | 280 | And I follow "New discussion topic" |
281 | + And I should see "Text article with visual editor" | ||
277 | And I follow "Text article with visual editor" | 282 | And I follow "Text article with visual editor" |
278 | And I fill in "Title" with "Test" | 283 | And I fill in "Title" with "Test" |
279 | And I press "Save" | 284 | And I press "Save" |
280 | And I go to /sample-community/forum/test | 285 | And I go to /sample-community/forum/test |
281 | And I follow "New discussion topic" | 286 | And I follow "New discussion topic" |
287 | + And I should see "Text article with visual editor" | ||
282 | And I follow "Text article with visual editor" | 288 | And I follow "Text article with visual editor" |
283 | And I fill in "Title" with "Test inside the topic page" | 289 | And I fill in "Title" with "Test inside the topic page" |
284 | And I press "Save" | 290 | And I press "Save" |