BigW Consortium Gitlab

users.feature 1.91 KB
Newer Older
1
@admin
2
Feature: Admin Users
3 4 5
  Background:
    Given I sign in as an admin
    And system has users
6

7 8 9
  Scenario: On Admin Users
    Given I visit admin users page
    Then I should see all users
10 11 12 13 14 15 16

  Scenario: Edit user and change username to non ascii char
    When I visit admin users page
    And Click edit
    And Input non ascii char in username
    And Click save
    Then See username error message
Joerg Bornschein committed
17
    And Not changed form action url
18

19 20 21 22 23 24
  Scenario: Show user attributes
    Given user "Mike" with groups and projects
    Given I visit admin users page
    And click on "Mike" link
    Then I should see user "Mike" details

25 26 27 28 29
  Scenario: Edit my user attributes
    Given I visit admin users page
    And click edit on my user
    When I submit modified user
    Then I see user attributes changed
30

31
  @javascript
32 33 34 35 36 37
  Scenario: Remove users secondary email
    Given I visit admin users page
    And I view the user with secondary email
    And I see the secondary email
    When I click remove secondary email
    Then I should not see secondary email anymore
38 39 40 41 42

  Scenario: Show user keys
    Given user "Pete" with ssh keys
    And I visit admin users page
    And click on user "Pete"
43
    And click on ssh keys tab
44 45 46 47 48
    Then I should see key list
    And I click on the key title
    Then I should see key details
    And I click on remove key
    Then I should see the key removed
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65

  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