Commit adf19a1da1d0832a6a31504b53e9e53306052a79
1 parent
4714fcb3
Exists in
master
and in
29 other branches
Adding suitable acceptance tests for user data export
(ActionItem1605)
Showing
1 changed file
with
6 additions
and
7 deletions
Show diff stats
features/export_users.feature
| @@ -7,19 +7,18 @@ Feature: export users | @@ -7,19 +7,18 @@ Feature: export users | ||
| 7 | | login | | 7 | | login | |
| 8 | | ultraje | | 8 | | ultraje | |
| 9 | 9 | ||
| 10 | - Scenario: Manage users not implemented yet | ||
| 11 | - Given I am logged in as admin | ||
| 12 | - When I go to /admin/users | ||
| 13 | - Then I should see "Not implemented yet!" | ||
| 14 | - | ||
| 15 | Scenario: Export users as XML | 10 | Scenario: Export users as XML |
| 16 | Given I am logged in as admin | 11 | Given I am logged in as admin |
| 17 | - When I go to /admin/users.xml | 12 | + When I follow "Administration" |
| 13 | + And I follow "Manage users" | ||
| 14 | + And I follow "[XML]" | ||
| 18 | Then I should see "ultraje" | 15 | Then I should see "ultraje" |
| 19 | 16 | ||
| 20 | Scenario: Export users as CSV | 17 | Scenario: Export users as CSV |
| 21 | Given I am logged in as admin | 18 | Given I am logged in as admin |
| 22 | - When I go to /admin/users.csv | 19 | + When I follow "Administration" |
| 20 | + And I follow "Manage users" | ||
| 21 | + And I follow "[CSV]" | ||
| 23 | Then I should see "name;email" | 22 | Then I should see "name;email" |
| 24 | And I should see "ultraje" | 23 | And I should see "ultraje" |
| 25 | 24 |