Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
6bcfccf7
Commit
6bcfccf7
authored
Mar 01, 2016
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specs
parent
cb7dd09a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
features/user.feature
features/user.feature
+7
-0
No files found.
features/user.feature
View file @
6bcfccf7
...
@@ -10,6 +10,7 @@ Feature: User
...
@@ -10,6 +10,7 @@ Feature: User
Given
"John Doe"
owns internal project
"Internal"
Given
"John Doe"
owns internal project
"Internal"
And
"John Doe"
owns public project
"Community"
And
"John Doe"
owns public project
"Community"
When
I visit user
"John Doe"
page
When
I visit user
"John Doe"
page
And
I click on
"Personal projects"
tab
Then
I should see user
"John Doe"
page
Then
I should see user
"John Doe"
page
And
I should not see project
"Enterprise"
And
I should not see project
"Enterprise"
And
I should not see project
"Internal"
And
I should not see project
"Internal"
...
@@ -23,6 +24,7 @@ Feature: User
...
@@ -23,6 +24,7 @@ Feature: User
And
"John Doe"
owns internal project
"Internal"
And
"John Doe"
owns internal project
"Internal"
And
I sign in as a user
And
I sign in as a user
When
I visit user
"John Doe"
page
When
I visit user
"John Doe"
page
And
I click on
"Personal projects"
tab
Then
I should see user
"John Doe"
page
Then
I should see user
"John Doe"
page
And
I should not see project
"Enterprise"
And
I should not see project
"Enterprise"
And
I should see project
"Internal"
And
I should see project
"Internal"
...
@@ -33,6 +35,7 @@ Feature: User
...
@@ -33,6 +35,7 @@ Feature: User
Given
"John Doe"
owns internal project
"Internal"
Given
"John Doe"
owns internal project
"Internal"
And
I sign in as a user
And
I sign in as a user
When
I visit user
"John Doe"
page
When
I visit user
"John Doe"
page
And
I click on
"Personal projects"
tab
Then
I should see user
"John Doe"
page
Then
I should see user
"John Doe"
page
And
I should not see project
"Enterprise"
And
I should not see project
"Enterprise"
And
I should see project
"Internal"
And
I should see project
"Internal"
...
@@ -42,6 +45,7 @@ Feature: User
...
@@ -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
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
Given
I sign in as a user
When
I visit user
"John Doe"
page
When
I visit user
"John Doe"
page
And
I click on
"Personal projects"
tab
Then
I should see user
"John Doe"
page
Then
I should see user
"John Doe"
page
And
I should not see project
"Enterprise"
And
I should not see project
"Enterprise"
And
I should not see project
"Internal"
And
I should not see project
"Internal"
...
@@ -55,6 +59,7 @@ Feature: User
...
@@ -55,6 +59,7 @@ Feature: User
And
"John Doe"
owns public project
"Community"
And
"John Doe"
owns public project
"Community"
And
I sign in as
"John Doe"
And
I sign in as
"John Doe"
When
I visit user
"John Doe"
page
When
I visit user
"John Doe"
page
And
I click on
"Personal projects"
tab
Then
I should see user
"John Doe"
page
Then
I should see user
"John Doe"
page
And
I should see project
"Enterprise"
And
I should see project
"Enterprise"
And
I should see project
"Internal"
And
I should see project
"Internal"
...
@@ -64,6 +69,7 @@ Feature: User
...
@@ -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
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"
Given
I sign in as
"John Doe"
When
I visit user
"John Doe"
page
When
I visit user
"John Doe"
page
And
I click on
"Personal projects"
tab
Then
I should see user
"John Doe"
page
Then
I should see user
"John Doe"
page
And
I should see project
"Enterprise"
And
I should see project
"Enterprise"
And
I should not see project
"Internal"
And
I should not see project
"Internal"
...
@@ -74,6 +80,7 @@ Feature: User
...
@@ -74,6 +80,7 @@ Feature: User
Given
I sign in as a user
Given
I sign in as a user
And
"John Doe"
has contributions
And
"John Doe"
has contributions
When
I visit user
"John Doe"
page
When
I visit user
"John Doe"
page
And
I click on
"Contributed projects"
tab
Then
I should see user
"John Doe"
page
Then
I should see user
"John Doe"
page
And
I should see contributed projects
And
I should see contributed projects
And
I should see contributions calendar
And
I should see contributions calendar
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment