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:
authorJosh Frye <joshfng@gmail.com>2016-02-24 19:08:00 +0300
committerJosh Frye <joshfng@gmail.com>2016-02-29 16:24:07 +0300
commitcc9f93f9d26a18a7e867384e1e3cf34a3197ba5c (patch)
tree4ad72747512c4e29cb231cf9ace790f4ab5eb8b0 /features
parentcd391b66e9d480c3143b63d32f893c6a1015f04e (diff)
Add routes and actions for dynamic tab loading
Diffstat (limited to 'features')
-rw-r--r--features/user.feature6
1 files changed, 6 insertions, 0 deletions
diff --git a/features/user.feature b/features/user.feature
index 35eae842e77..209afab4db7 100644
--- a/features/user.feature
+++ b/features/user.feature
@@ -5,6 +5,7 @@ Feature: User
# Signed out
+ @javascript
Scenario: I visit user "John Doe" page while not signed in when he owns a public project
Given "John Doe" owns internal project "Internal"
And "John Doe" owns public project "Community"
@@ -16,6 +17,7 @@ Feature: User
# Signed in as someone else
+ @javascript
Scenario: I visit user "John Doe" page while signed in as someone else when he owns a public project
Given "John Doe" owns public project "Community"
And "John Doe" owns internal project "Internal"
@@ -26,6 +28,7 @@ Feature: User
And I should see project "Internal"
And I should see project "Community"
+ @javascript
Scenario: I visit user "John Doe" page while signed in as someone else when he is not authorized to a public project
Given "John Doe" owns internal project "Internal"
And I sign in as a user
@@ -35,6 +38,7 @@ Feature: User
And I should see project "Internal"
And I should not see project "Community"
+ @javascript
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
@@ -45,6 +49,7 @@ Feature: User
# Signed in as the user himself
+ @javascript
Scenario: I visit user "John Doe" page while signed in as "John Doe" when he has a public project
Given "John Doe" owns internal project "Internal"
And "John Doe" owns public project "Community"
@@ -55,6 +60,7 @@ Feature: User
And I should see project "Internal"
And I should see project "Community"
+ @javascript
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