Commit d8cc4540 authored by Mike Greiling's avatar Mike Greiling

fix assignment to hidden input

parent fcfd60b5
...@@ -33,7 +33,7 @@ RSpec.describe 'Dashboard Issues' do ...@@ -33,7 +33,7 @@ RSpec.describe 'Dashboard Issues' do
end end
it 'shows issues when current user is author', :js do it 'shows issues when current user is author', :js do
find('#assignee_id', visible: false).set('') execute_script("document.querySelector('#assignee_id').value=''")
find('.js-author-search', match: :first).click find('.js-author-search', match: :first).click
expect(find('li[data-user-id="null"] a.is-active')).to be_visible expect(find('li[data-user-id="null"] a.is-active')).to be_visible
......
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