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
376660e6
Commit
376660e6
authored
Jul 14, 2020
by
Tom Quirk
Committed by
Gabriel Mazetto
Jul 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Declare wiki_link element in view for partial
parent
8261899c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
ee/spec/views/layouts/nav/sidebar/_group.html.haml_spec.rb
ee/spec/views/layouts/nav/sidebar/_group.html.haml_spec.rb
+1
-0
qa/qa/page/group/menu.rb
qa/qa/page/group/menu.rb
+4
-1
qa/qa/page/project/menu.rb
qa/qa/page/project/menu.rb
+4
-1
No files found.
ee/spec/views/layouts/nav/sidebar/_group.html.haml_spec.rb
View file @
376660e6
...
...
@@ -202,6 +202,7 @@ RSpec.describe 'layouts/nav/sidebar/_group' do
describe
'wiki tab'
do
let
(
:can_read_wiki
)
{
true
}
let_it_be
(
:current_user
)
{
create
(
:user
)
}
before
do
...
...
qa/qa/page/group/menu.rb
View file @
376660e6
...
...
@@ -12,7 +12,6 @@ module QA
element
:group_members_item
element
:group_milestones_link
element
:group_settings_item
element
:wiki_link
end
view
'app/views/layouts/nav/sidebar/_analytics_links.html.haml'
do
...
...
@@ -20,6 +19,10 @@ module QA
element
:analytics_sidebar_submenu
end
view
'app/views/layouts/nav/sidebar/_wiki_link.html.haml'
do
element
:wiki_link
end
def
click_group_members_item
within_sidebar
do
click_element
(
:group_members_item
)
...
...
qa/qa/page/project/menu.rb
View file @
376660e6
...
...
@@ -15,11 +15,14 @@ module QA
view
'app/views/layouts/nav/sidebar/_project.html.haml'
do
element
:activity_link
element
:merge_requests_link
element
:wiki_link
element
:snippets_link
element
:members_link
end
view
'app/views/layouts/nav/sidebar/_wiki_link.html.haml'
do
element
:wiki_link
end
def
click_merge_requests
within_sidebar
do
click_element
(
:merge_requests_link
)
...
...
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