Commit fa8865130d6aaac7a8b41e2dfaef5647b741b8c6
1 parent
c8373a9e
Exists in
master
and in
23 other branches
Adding acceptance tests for online documentation
Also fixing the one that depended on the example section
Showing
1 changed file
with
15 additions
and
2 deletions
Show diff stats
features/online_documenation.feature
| @@ -9,6 +9,19 @@ Feature: online documentation | @@ -9,6 +9,19 @@ Feature: online documentation | ||
| 9 | 9 | ||
| 10 | Scenario: displaying index content | 10 | Scenario: displaying index content |
| 11 | When I go to /doc | 11 | When I go to /doc |
| 12 | - Then I should see "Administration" | ||
| 13 | - And I should see "User features" | 12 | + Then I should see "User features" |
| 13 | + And I should see "Content Management" | ||
| 14 | + | ||
| 15 | + Scenario: displaying section | ||
| 16 | + When I go to /doc | ||
| 17 | + And I follow "User features" | ||
| 18 | + Then I should see "Accepting friends" | ||
| 19 | + And I should see "Commenting" | ||
| 20 | + | ||
| 21 | + Scenario: displaying topic | ||
| 22 | + When I go to /doc | ||
| 23 | + And I follow "User features" | ||
| 24 | + And I follow "Commenting" | ||
| 25 | + Then I should see "How to access" | ||
| 26 | + | ||
| 14 | 27 |