Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-03-02 01:42:44 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2016-03-02 01:42:44 +0300
commit6bcfccf749caf083cb3c3955cd8d5e5e329d6e9b (patch)
tree39c2d78d8158b645d0819ffc9b12f5ed4312f150 /features/user.feature
parentcb7dd09a9c85a35052b0776b84a7adf02695db8c (diff)
Fix specs
Diffstat (limited to 'features/user.feature')
-rw-r--r--features/user.feature7
1 files changed, 7 insertions, 0 deletions
diff --git a/features/user.feature b/features/user.feature
index 209afab4db7..e0cadba30a1 100644
--- a/features/user.feature
+++ b/features/user.feature
@@ -10,6 +10,7 @@ Feature: User
Given "John Doe" owns internal project "Internal"
And "John Doe" owns public project "Community"
When I visit user "John Doe" page
+ And I click on "Personal projects" tab
Then I should see user "John Doe" page
And I should not see project "Enterprise"
And I should not see project "Internal"
@@ -23,6 +24,7 @@ Feature: User
And "John Doe" owns internal project "Internal"
And I sign in as a user
When I visit user "John Doe" page
+ And I click on "Personal projects" tab
Then I should see user "John Doe" page
And I should not see project "Enterprise"
And I should see project "Internal"
@@ -33,6 +35,7 @@ Feature: User
Given "John Doe" owns internal project "Internal"
And I sign in as a user
When I visit user "John Doe" page
+ And I click on "Personal projects" tab
Then I should see user "John Doe" page
And I should not see project "Enterprise"
And I should see project "Internal"
@@ -42,6 +45,7 @@ Feature: User
Scenario: I visit user "John Doe" page while signed in as someone else when he is not authorized to a project I can see
Given I sign in as a user
When I visit user "John Doe" page
+ And I click on "Personal projects" tab
Then I should see user "John Doe" page
And I should not see project "Enterprise"
And I should not see project "Internal"
@@ -55,6 +59,7 @@ Feature: User
And "John Doe" owns public project "Community"
And I sign in as "John Doe"
When I visit user "John Doe" page
+ And I click on "Personal projects" tab
Then I should see user "John Doe" page
And I should see project "Enterprise"
And I should see project "Internal"
@@ -64,6 +69,7 @@ Feature: User
Scenario: I visit user "John Doe" page while signed in as "John Doe" when he has no public project
Given I sign in as "John Doe"
When I visit user "John Doe" page
+ And I click on "Personal projects" tab
Then I should see user "John Doe" page
And I should see project "Enterprise"
And I should not see project "Internal"
@@ -74,6 +80,7 @@ Feature: User
Given I sign in as a user
And "John Doe" has contributions
When I visit user "John Doe" page
+ And I click on "Contributed projects" tab
Then I should see user "John Doe" page
And I should see contributed projects
And I should see contributions calendar