BigW Consortium Gitlab

team_management.feature 1.42 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
    Given I click link "Add members"
17 18 19
    And I select "Mike" as "Reporter"
    Then I should see "Mike" in team list as "Reporter"

20 21 22 23 24 25
  @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"

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

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

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