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