Commit c00ff16f authored by Fatih Acet's avatar Fatih Acet

IssueNotesRefactor: Revert note selector.

parent a2b2f1ea
...@@ -2,7 +2,7 @@ module QuickActionsHelpers ...@@ -2,7 +2,7 @@ module QuickActionsHelpers
def write_note(text) def write_note(text)
Sidekiq::Testing.fake! do Sidekiq::Testing.fake! do
page.within('.js-main-target-form') do page.within('.js-main-target-form') do
fill_in 'note-body', with: text fill_in 'note[note]', with: text
find('.js-comment-submit-button').trigger('click') find('.js-comment-submit-button').trigger('click')
wait_for_requests wait_for_requests
end end
......
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