fix assignment to hidden input
This commit is contained in:
parent
fcfd60b58a
commit
d8cc4540ab
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue