summaryrefslogtreecommitdiff
path: root/features/projects
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-06-18 19:34:09 +0300
committerrandx <dmitriy.zaporozhets@gmail.com>2012-06-18 19:34:09 +0300
commit22d6dc2b3b1392341c765932b706bd867c66c5f9 (patch)
tree3d4d78db40130ea79b131fdf3327497a8eefb592 /features/projects
parenteb00cb69dd8bf1b0db7d84e4c27076b1b8d23e09 (diff)
downloadgitlab-ce-22d6dc2b3b1392341c765932b706bd867c66c5f9.tar.gz
Cucumber features: Team, SSH keys
Diffstat (limited to 'features/projects')
-rw-r--r--features/projects/team_management.feature35
1 files changed, 35 insertions, 0 deletions
diff --git a/features/projects/team_management.feature b/features/projects/team_management.feature
index e69de29bb2d..b5b485e2dc0 100644
--- a/features/projects/team_management.feature
+++ b/features/projects/team_management.feature
@@ -0,0 +1,35 @@
+Feature: Project Team management
+ Background:
+ Given I signin as a user
+ And I own project "Shop"
+ And gitlab user "Mike"
+ And gitlab user "Sam"
+ And "Sam" 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 "Sam" in team list
+
+ Scenario: Add user to project
+ Given I click link "New Team Member"
+ And I select "Mike" as "Reporter"
+ Then I should see "Mike" in team list as "Reporter"
+
+ @javascript
+ Scenario: Update user access
+ Given I should see "Sam" in team list as "Developer"
+ And I change "Sam" role to "Reporter"
+ Then I visit project "Shop" team page
+ And I should see "Sam" in team list as "Reporter"
+
+ Scenario: View team member profile
+ Given I click link "Sam"
+ Then I should see "Sam" team profile
+
+ Scenario: Cancel team member
+ Given I click link "Sam"
+ And I click link "Remove from team"
+ Then I visit project "Shop" team page
+ And I should not see "Sam" in team list
+