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
This commit is contained in:
Ramya Authappan 2019-01-10 11:03:56 +00:00
commit 7450cdb784

View file

@ -32,9 +32,13 @@ module QA
click_element :comment_button
end
def reply_to_discussion(reply_text)
def type_reply_to_discussion(reply_text)
all_elements(:discussion_reply).last.click
fill_element :reply_input, reply_text
end
def reply_to_discussion(reply_text)
type_reply_to_discussion(reply_text)
click_element :reply_comment_button
end