BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
25a3b7fa
Commit
25a3b7fa
authored
Aug 30, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more navigation spec fixes
parent
aab5d550
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
projects.rb
features/steps/explore/projects.rb
+2
-2
active_tab.rb
features/steps/project/active_tab.rb
+3
-3
user_posts_diff_notes_spec.rb
spec/features/merge_requests/user_posts_diff_notes_spec.rb
+2
-2
No files found.
features/steps/explore/projects.rb
View file @
25a3b7fa
...
...
@@ -36,13 +36,13 @@ class Spinach::Features::ExploreProjects < Spinach::FeatureSteps
end
step
'I should see project "Community" home page'
do
page
.
within
'.
navbar-gitlab
.title'
do
page
.
within
'.
breadcrumbs
.title'
do
expect
(
page
).
to
have_content
'Community'
end
end
step
'I should see project "Internal" home page'
do
page
.
within
'.
navbar-gitlab
.title'
do
page
.
within
'.
breadcrumbs
.title'
do
expect
(
page
).
to
have_content
'Internal'
end
end
...
...
features/steps/project/active_tab.rb
View file @
25a3b7fa
...
...
@@ -34,13 +34,13 @@ class Spinach::Features::ProjectActiveTab < Spinach::FeatureSteps
end
step
'I click the "Repository" tab'
do
page
.
within
'.
nav-sidebar
'
do
page
.
within
'.
sidebar-top-level-items > .active
'
do
click_link
(
'Repository'
)
end
end
step
'I click the "Activity" tab'
do
page
.
within
'.
nav-sidebar
'
do
page
.
within
'.
sidebar-top-level-items > .active
'
do
click_link
(
'Activity'
)
end
end
...
...
@@ -82,7 +82,7 @@ class Spinach::Features::ProjectActiveTab < Spinach::FeatureSteps
end
step
'I click the "Charts" tab'
do
page
.
within
'.nav-sidebar'
do
page
.
within
(
'.sidebar-top-level-items > .active'
)
do
click_link
(
'Charts'
)
end
end
...
...
spec/features/merge_requests/user_posts_diff_notes_spec.rb
View file @
25a3b7fa
...
...
@@ -6,6 +6,8 @@ feature 'Merge requests > User posts diff notes', :js do
let
(
:project
)
{
merge_request
.
source_project
}
before
do
allow_any_instance_of
(
ApplicationHelper
).
to
receive
(
:collapsed_sidebar?
).
and_return
(
true
)
project
.
add_developer
(
user
)
sign_in
(
user
)
end
...
...
@@ -17,8 +19,6 @@ feature 'Merge requests > User posts diff notes', :js do
context
'when hovering over a parallel view diff file'
do
before
do
allow_any_instance_of
(
ApplicationHelper
).
to
receive
(
:collapsed_sidebar?
).
and_return
(
true
)
visit
diffs_project_merge_request_path
(
project
,
merge_request
,
view:
'parallel'
)
end
...
...
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