diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-10-12 17:44:53 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-10-12 17:44:53 -0500 |
commit | d8cc4540ab83c98a09b11d1654fac593c47384c8 (patch) | |
tree | 9583e4ba6da312589d720675b944f9e97aba8432 | |
parent | fcfd60b58adfc6a7af152cda17bcf7423969a23c (diff) | |
download | gitlab-ce-d8cc4540ab83c98a09b11d1654fac593c47384c8.tar.gz |
fix assignment to hidden input
-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 |