mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-21 10:36:04 +10:00
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: README.md VERSION app/controllers/projects/services_controller.rb app/controllers/projects/uploads_controller.rb app/services/test_hook_service.rb db/schema.rb features/steps/admin/settings.rb lib/gitlab/reference_extractor.rb spec/models/note_spec.rb
49 lines
1.6 KiB
Gherkin
49 lines
1.6 KiB
Gherkin
Feature: Project Team Management
|
|
Background:
|
|
Given I sign in as a user
|
|
And I own project "Shop"
|
|
And gitlab user "Mike"
|
|
And gitlab user "Dmitriy"
|
|
And "Dmitriy" is "Shop" developer
|
|
And I visit project "Shop" team page
|
|
|
|
Scenario: See all team members
|
|
Then I should be able to see myself in team
|
|
And I should see "Dmitriy" in team list
|
|
|
|
@javascript
|
|
Scenario: Add user to project
|
|
Given I click link "Add members"
|
|
And I select "Mike" as "Reporter"
|
|
Then I should see "Mike" in team list as "Reporter"
|
|
|
|
@javascript
|
|
Scenario: Invite user to project
|
|
Given I click link "Add members"
|
|
And I select "sjobs@apple.com" as "Reporter"
|
|
Then I should see "sjobs@apple.com" in team list as invited "Reporter"
|
|
|
|
@javascript
|
|
Scenario: Update user access
|
|
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"
|
|
|
|
Scenario: Cancel team member
|
|
Given I click cancel link for "Dmitriy"
|
|
Then I visit project "Shop" team page
|
|
And I should not see "Dmitriy" in team list
|
|
|
|
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"
|
|
|
|
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
|