debian-mirror-gitlab/features/project/team_management.feature

47 lines
1.5 KiB
Gherkin
Raw Normal View History

2015-04-26 12:48:37 +05:30
Feature: Project Team Management
2014-09-02 18:07:02 +05:30
Background:
Given I sign in as a user
And I own project "Shop"
And gitlab user "Mike"
2015-09-11 14:41:01 +05:30
And gitlab user "Dmitriy"
And "Dmitriy" is "Shop" developer
2014-09-02 18:07:02 +05:30
And I visit project "Shop" team page
Scenario: See all team members
Then I should be able to see myself in team
2015-09-11 14:41:01 +05:30
And I should see "Dmitriy" in team list
2014-09-02 18:07:02 +05:30
@javascript
Scenario: Add user to project
2015-12-23 02:04:40 +05:30
When I select "Mike" as "Reporter"
2014-09-02 18:07:02 +05:30
Then I should see "Mike" in team list as "Reporter"
2015-04-26 12:48:37 +05:30
@javascript
Scenario: Invite user to project
2015-12-23 02:04:40 +05:30
When I select "sjobs@apple.com" as "Reporter"
2015-04-26 12:48:37 +05:30
Then I should see "sjobs@apple.com" in team list as invited "Reporter"
2014-09-02 18:07:02 +05:30
@javascript
Scenario: Update user access
2015-09-11 14:41:01 +05:30
Given I should see "Dmitriy" in team list as "Developer"
And I change "Dmitriy" role to "Reporter"
And I should see "Dmitriy" in team list as "Reporter"
2014-09-02 18:07:02 +05:30
Scenario: Cancel team member
2015-09-11 14:41:01 +05:30
Given I click cancel link for "Dmitriy"
2014-09-02 18:07:02 +05:30
Then I visit project "Shop" team page
2015-09-11 14:41:01 +05:30
And I should not see "Dmitriy" in team list
2014-09-02 18:07:02 +05:30
Scenario: Import team from another project
Given I own project "Website"
And "Mike" is "Website" reporter
When I visit project "Shop" team page
And I click link "Import team from another project"
And I submit "Website" project for import team
Then I should see "Mike" in team list as "Reporter"
2016-06-02 11:05:42 +05:30
Scenario: See all members of projects shared group
Given I share project with group "OpenSource"
And I visit project "Shop" team page
Then I should see "Opensource" group user listing