summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-10-12 17:44:53 -0500
committerMike Greiling <mike@pixelcog.com>2017-10-12 17:44:53 -0500
commitd8cc4540ab83c98a09b11d1654fac593c47384c8 (patch)
tree9583e4ba6da312589d720675b944f9e97aba8432
parentfcfd60b58adfc6a7af152cda17bcf7423969a23c (diff)
downloadgitlab-ce-d8cc4540ab83c98a09b11d1654fac593c47384c8.tar.gz
fix assignment to hidden input
-rw-r--r--spec/features/dashboard/issues_spec.rb2
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