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
e517da3f
Commit
e517da3f
authored
Oct 28, 2016
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Created wait_for_turbolinks and added test for refs dropdown selection with special chars
parent
5368b9f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
spec/features/projects/ref_switcher_spec.rb
spec/features/projects/ref_switcher_spec.rb
+13
-1
No files found.
spec/features/projects/ref_switcher_spec.rb
View file @
e517da3f
...
...
@@ -22,8 +22,20 @@ feature 'Ref switcher', feature: true, js: true do
input
.
native
.
send_keys
:down
input
.
native
.
send_keys
:down
input
.
native
.
send_keys
:enter
end
expect
(
page
).
to
have_title
'expand-collapse-files'
end
it
"user selects ref with special characters"
do
click_button
'master'
wait_for_ajax
expect
(
page
).
to
have_content
'expand-collapse-files'
page
.
within
'.project-refs-form'
do
page
.
fill_in
'Search branches and tags'
,
with:
"'test'"
click_link
"'test'"
end
expect
(
page
).
to
have_title
"'test'"
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