BigW Consortium Gitlab

team_management.feature 1.55 KB
Newer Older
1
Feature: Project Team Management
2 3
  Background:
    Given I sign in as a user
4
    And I own project "Shop"
5
    And gitlab user "Mike"
6 7
    And gitlab user "Dmitriy"
    And "Dmitriy" is "Shop" developer
8
    And I visit project "Shop" team page
9 10 11

  Scenario: See all team members
    Then I should be able to see myself in team
12
    And I should see "Dmitriy" in team list
13

14
  @javascript
15
  Scenario: Add user to project
16
    When I select "Mike" as "Reporter"
17 18
    Then I should see "Mike" in team list as "Reporter"

19 20
  @javascript
  Scenario: Invite user to project
21
    When I select "sjobs@apple.com" as "Reporter"
22 23
    Then I should see "sjobs@apple.com" in team list as invited "Reporter"

24 25
  @javascript
  Scenario: Update user access
26 27 28
    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"
29 30

  Scenario: Cancel team member
31
    Given I click cancel link for "Dmitriy"
32
    Then I visit project "Shop" team page
33
    And I should not see "Dmitriy" in team list
Dmitriy Zaporozhets committed
34 35 36 37

  Scenario: Import team from another project
    Given I own project "Website"
    And "Mike" is "Website" reporter
Dmitriy Zaporozhets committed
38
    When I visit project "Shop" team page
Dmitriy Zaporozhets committed
39
    And I click link "Import team from another project"
Dmitriy Zaporozhets committed
40
    And I submit "Website" project for import team
Dmitriy Zaporozhets committed
41
    Then I should see "Mike" in team list as "Reporter"
42 43 44 45 46

  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