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
87d4d93f
Commit
87d4d93f
authored
Apr 20, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix new menu spec
parent
5982dcdd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/features/explore/new_menu_spec.rb
spec/features/explore/new_menu_spec.rb
+3
-3
No files found.
spec/features/explore/new_menu_spec.rb
View file @
87d4d93f
...
...
@@ -66,7 +66,7 @@ feature 'Top Plus Menu', :js do
page
.
within
'.header-content'
do
find
(
'.header-new-dropdown-toggle'
).
click
expect
(
page
).
to
have_selector
(
'.header-new.dropdown.
open
'
,
count:
1
)
expect
(
page
).
to
have_selector
(
'.header-new.dropdown.
show
'
,
count:
1
)
find
(
'.header-new-project-snippet a'
).
click
end
...
...
@@ -88,7 +88,7 @@ feature 'Top Plus Menu', :js do
page
.
within
'.header-content'
do
find
(
'.header-new-dropdown-toggle'
).
click
expect
(
page
).
to
have_selector
(
'.header-new.dropdown.
open
'
,
count:
1
)
expect
(
page
).
to
have_selector
(
'.header-new.dropdown.
show
'
,
count:
1
)
find
(
'.header-new-group-project a'
).
click
end
...
...
@@ -156,7 +156,7 @@ feature 'Top Plus Menu', :js do
def
click_topmenuitem
(
item_name
)
page
.
within
'.header-content'
do
find
(
'.header-new-dropdown-toggle'
).
click
expect
(
page
).
to
have_selector
(
'.header-new.dropdown.
open
'
,
count:
1
)
expect
(
page
).
to
have_selector
(
'.header-new.dropdown.
show
'
,
count:
1
)
click_link
item_name
end
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