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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
e0edc01d
Commit
e0edc01d
authored
Nov 03, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
4d7f00fd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
features/profile/profile.feature
features/profile/profile.feature
+1
-0
features/steps/profile/profile.rb
features/steps/profile/profile.rb
+10
-5
No files found.
features/profile/profile.feature
View file @
e0edc01d
...
@@ -7,6 +7,7 @@ Feature: Profile
...
@@ -7,6 +7,7 @@ Feature: Profile
Given
I visit profile page
Given
I visit profile page
Then
I should see my profile info
Then
I should see my profile info
@javascript
Scenario
:
I
can see groups I belong to
Scenario
:
I
can see groups I belong to
Given
I have group with projects
Given
I have group with projects
When
I visit profile page
When
I visit profile page
...
...
features/steps/profile/profile.rb
View file @
e0edc01d
...
@@ -159,10 +159,9 @@ class Spinach::Features::Profile < Spinach::FeatureSteps
...
@@ -159,10 +159,9 @@ class Spinach::Features::Profile < Spinach::FeatureSteps
end
end
step
'I should see my user page'
do
step
'I should see my user page'
do
expect
(
page
).
to
have_content
"User Activity"
page
.
within
".cover-block"
do
page
.
within
'.navbar-gitlab'
do
expect
(
page
).
to
have_content
current_user
.
name
expect
(
page
).
to
have_content
current_user
.
name
expect
(
page
).
to
have_content
current_user
.
username
end
end
end
end
...
@@ -176,7 +175,13 @@ class Spinach::Features::Profile < Spinach::FeatureSteps
...
@@ -176,7 +175,13 @@ class Spinach::Features::Profile < Spinach::FeatureSteps
end
end
step
'I should see groups I belong to'
do
step
'I should see groups I belong to'
do
expect
(
page
).
to
have_css
(
'.profile-groups-avatars'
,
visible:
true
)
page
.
within
".content"
do
click_link
"Groups"
end
page
.
within
"#groups"
do
expect
(
page
).
to
have_content
@group
.
name
end
end
end
step
'I click on new application button'
do
step
'I click on new application button'
do
...
...
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