summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qa/qa/page/component/note.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/qa/qa/page/component/note.rb b/qa/qa/page/component/note.rb
index ec82267271a..67d7f114786 100644
--- a/qa/qa/page/component/note.rb
+++ b/qa/qa/page/component/note.rb
@@ -32,12 +32,6 @@ module QA
click_element :comment_button
end
- def wait_for_ajax
- Timeout.timeout(Capybara.default_max_wait_time) do
- loop until page.evaluate_script("jQuery.active").zero?
- end
- end
-
def reply_to_discussion(reply_text)
all_elements(:discussion_reply).last.click
fill_element :reply_input, reply_text