summaryrefslogtreecommitdiff
path: root/features/admin
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-19 12:23:05 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-19 15:29:53 +0200
commitaca6d36722df8139bb26e06fd39970b797aa6a1f (patch)
treebe8eaed6cccbea7bb77addcae30d564c452e97c1 /features/admin
parentd059c69db76a5a55841bb8b0914211ae0a4bfd4f (diff)
downloadgitlab-ce-aca6d36722df8139bb26e06fd39970b797aa6a1f.tar.gz
Add tests for admin managing user identities
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/admin')
-rw-r--r--features/admin/users.feature19
1 files changed, 18 insertions, 1 deletions
diff --git a/features/admin/users.feature b/features/admin/users.feature
index 1a8720dd77e..f17254911b7 100644
--- a/features/admin/users.feature
+++ b/features/admin/users.feature
@@ -28,7 +28,7 @@ Feature: Admin Users
When I submit modified user
Then I see user attributes changed
-@javascript
+ @javascript
Scenario: Remove users secondary email
Given I visit admin users page
And I view the user with secondary email
@@ -45,3 +45,20 @@ Feature: Admin Users
Then I should see key details
And I click on remove key
Then I should see the key removed
+
+ Scenario: Show user identities
+ Given user "Pete" with twitter account
+ And I visit "Pete" identities page in admin
+ Then I should see twitter details
+
+ Scenario: Update user identities
+ Given user "Pete" with twitter account
+ And I visit "Pete" identities page in admin
+ And I modify twitter identity
+ Then I should see twitter details updated
+
+ Scenario: Remove user identities
+ Given user "Pete" with twitter account
+ And I visit "Pete" identities page in admin
+ And I remove twitter identity
+ Then I should not see twitter details