Commit 7450cdb7 authored by Ramya Authappan's avatar Ramya Authappan

Merge branch 'fix-missing-start-discussion-method-qa' into 'master'

[CE] port of fix for failing E2E test ee_add_batch_comments_in_merge_request_spec.rb

See merge request gitlab-org/gitlab-ce!24247
parents 09f4a472 9e2cea31
...@@ -32,9 +32,13 @@ module QA ...@@ -32,9 +32,13 @@ module QA
click_element :comment_button click_element :comment_button
end end
def reply_to_discussion(reply_text) def type_reply_to_discussion(reply_text)
all_elements(:discussion_reply).last.click all_elements(:discussion_reply).last.click
fill_element :reply_input, reply_text fill_element :reply_input, reply_text
end
def reply_to_discussion(reply_text)
type_reply_to_discussion(reply_text)
click_element :reply_comment_button click_element :reply_comment_button
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