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
Jérome Perrin
gitlab-ce
Commits
8480118d
Commit
8480118d
authored
May 10, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix `send_key` to `send_keys` and add EOF newline
parent
ca9033bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/features/dashboard/shortcuts_spec.rb
spec/features/dashboard/shortcuts_spec.rb
+3
-3
No files found.
spec/features/dashboard/shortcuts_spec.rb
View file @
8480118d
...
...
@@ -8,11 +8,11 @@ feature 'Dashboard shortcuts', :feature, :js do
end
scenario
'Navigate to tabs'
do
find
(
'body'
).
send_key
([
:shift
,
'I'
])
find
(
'body'
).
send_key
s
([
:shift
,
'I'
])
check_page_title
(
'Issues'
)
find
(
'body'
).
send_key
([
:shift
,
'M'
])
find
(
'body'
).
send_key
s
([
:shift
,
'M'
])
check_page_title
(
'Merge Requests'
)
...
...
@@ -52,4 +52,4 @@ feature 'Dashboard shortcuts', :feature, :js do
def
check_page_title
(
title
)
expect
(
find
(
'.header-content .title'
)).
to
have_content
(
title
)
end
end
\ No newline at end of file
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