Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamya Authappan <rauthappan@gitlab.com>2019-01-10 14:03:56 +0300
committerGitLab Release Tools Bot <robert+release-tools@gitlab.com>2019-01-11 00:11:04 +0300
commitd467c2e2ef0d4eeed4c27b6fa5706b498c28ed39 (patch)
treea0975e598b192bc249e0a1f5c8fec352ec205b4f
parent510716a1af7362588fd24140dc6a138781887711 (diff)
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 (cherry picked from commit 7450cdb78429c91c5c839bcc0bd41359472f8649) 9e2cea31 Split reply_to_discussion method
-rw-r--r--qa/qa/page/component/note.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/qa/qa/page/component/note.rb b/qa/qa/page/component/note.rb
index 67d7f114786..f5add6bc9b5 100644
--- a/qa/qa/page/component/note.rb
+++ b/qa/qa/page/component/note.rb
@@ -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