Commit 5d937727 authored by Mike Greiling's avatar Mike Greiling

fix issue in which enter key from fill_in command was intercepted by autocomplete code

parent 01605bc7
...@@ -226,7 +226,7 @@ feature 'Issues > User uses quick actions', :js do ...@@ -226,7 +226,7 @@ feature 'Issues > User uses quick actions', :js do
end end
it 'applies the commands to both issues and moves the issue' do 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(page).to have_content 'Commands applied'
expect(issue.reload).to be_closed expect(issue.reload).to be_closed
...@@ -245,7 +245,7 @@ feature 'Issues > User uses quick actions', :js do ...@@ -245,7 +245,7 @@ feature 'Issues > User uses quick actions', :js do
end end
it 'moves the issue and applies the commands to both issues' do 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(page).to have_content 'Commands applied'
expect(issue.reload).to be_closed expect(issue.reload).to be_closed
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment