2014-09-02 18:07:02 +05:30
|
|
|
@admin
|
|
|
|
Feature: Admin Groups
|
|
|
|
Background:
|
|
|
|
Given I sign in as an admin
|
|
|
|
And I have group with projects
|
|
|
|
And User "John Doe" exists
|
|
|
|
And I visit admin groups page
|
|
|
|
|
|
|
|
Scenario: See group list
|
|
|
|
Then I should be all groups
|
|
|
|
|
|
|
|
Scenario: Create a group
|
|
|
|
When I click new group link
|
|
|
|
And submit form with new group info
|
|
|
|
Then I should be redirected to group page
|
|
|
|
And I should see newly created group
|
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: Add user into projects in group
|
|
|
|
When I visit admin group page
|
|
|
|
When I select user "John Doe" from user list as "Reporter"
|
|
|
|
Then I should see "John Doe" in team list in every project as "Reporter"
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: Remove user from group
|
|
|
|
Given we have user "John Doe" in group
|
|
|
|
When I visit admin group page
|
|
|
|
And I remove user "John Doe" from group
|
|
|
|
Then I should not see "John Doe" in team list
|
2015-09-11 14:41:01 +05:30
|
|
|
|
|
|
|
@javascript
|
|
|
|
Scenario: Invite user to a group by e-mail
|
|
|
|
When I visit admin group page
|
|
|
|
When I select user "johndoe@gitlab.com" from user list as "Reporter"
|
|
|
|
Then I should see "johndoe@gitlab.com" in team list in every project as "Reporter"
|