diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-10-13 01:44:53 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-10-13 01:44:53 +0300 |
commit | d8cc4540ab83c98a09b11d1654fac593c47384c8 (patch) | |
tree | 9583e4ba6da312589d720675b944f9e97aba8432 /spec/features/dashboard/issues_spec.rb | |
parent | fcfd60b58adfc6a7af152cda17bcf7423969a23c (diff) |
fix assignment to hidden input
Diffstat (limited to 'spec/features/dashboard/issues_spec.rb')
-rw-r--r-- | spec/features/dashboard/issues_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/dashboard/issues_spec.rb b/spec/features/dashboard/issues_spec.rb index 96485f0ba04..36eb3d4923a 100644 --- a/spec/features/dashboard/issues_spec.rb +++ b/spec/features/dashboard/issues_spec.rb @@ -33,7 +33,7 @@ RSpec.describe 'Dashboard Issues' do end 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 expect(find('li[data-user-id="null"] a.is-active')).to be_visible |