summaryrefslogtreecommitdiff
path: root/features/admin/users.feature
blob: 278f6a43e942d19cf194ef93bdd50fe1c0b7ae46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@admin
Feature: Admin Users
  Background:
    Given I sign in as an admin
    And system has users

  Scenario: On Admin Users
    Given I visit admin users page
    Then I should see all users

  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
    And Not changed form action url

  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

  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

@javascript
  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