summaryrefslogtreecommitdiff
path: root/spec/support/helpers/features/notes_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/features/notes_helpers.rb')
-rw-r--r--spec/support/helpers/features/notes_helpers.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/helpers/features/notes_helpers.rb b/spec/support/helpers/features/notes_helpers.rb
index 8c27f81930d..f8252254531 100644
--- a/spec/support/helpers/features/notes_helpers.rb
+++ b/spec/support/helpers/features/notes_helpers.rb
@@ -21,6 +21,8 @@ module Spec
find(".js-comment-submit-button").click
end
end
+
+ wait_for_requests
end
def edit_note(note_text_to_edit, new_note_text)
@@ -29,6 +31,8 @@ module Spec
fill_in('note[note]', with: new_note_text)
find('.js-comment-button').click
end
+
+ wait_for_requests
end
def preview_note(text)