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
Boxiang Sun
gitlab-ce
Commits
5d937727
Commit
5d937727
authored
Oct 24, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix issue in which enter key from fill_in command was intercepted by autocomplete code
parent
01605bc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/features/issues/user_uses_slash_commands_spec.rb
spec/features/issues/user_uses_slash_commands_spec.rb
+2
-2
No files found.
spec/features/issues/user_uses_slash_commands_spec.rb
View file @
5d937727
...
...
@@ -226,7 +226,7 @@ feature 'Issues > User uses quick actions', :js do
end
it
'applies the commands to both issues and moves the issue'
do
write_note
(
"/label ~
#{
bug
.
title
}
~
#{
wontfix
.
title
}
\n
/milestone %
\"
#{
milestone
.
title
}
\"
\n
/move
#{
target_project
.
full_path
}
"
)
write_note
(
"/label ~
#{
bug
.
title
}
~
#{
wontfix
.
title
}
\n
\n
/milestone %
\"
#{
milestone
.
title
}
\"\n
\n
/move
#{
target_project
.
full_path
}
"
)
expect
(
page
).
to
have_content
'Commands applied'
expect
(
issue
.
reload
).
to
be_closed
...
...
@@ -245,7 +245,7 @@ feature 'Issues > User uses quick actions', :js do
end
it
'moves the issue and applies the commands to both issues'
do
write_note
(
"/move
#{
target_project
.
full_path
}
\n
/label ~
#{
bug
.
title
}
~
#{
wontfix
.
title
}
\n
/milestone %
\"
#{
milestone
.
title
}
\"
"
)
write_note
(
"/move
#{
target_project
.
full_path
}
\n
\n
/label ~
#{
bug
.
title
}
~
#{
wontfix
.
title
}
\n
\n
/milestone %
\"
#{
milestone
.
title
}
\"
"
)
expect
(
page
).
to
have_content
'Commands applied'
expect
(
issue
.
reload
).
to
be_closed
...
...
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