summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorat.ramya <rauthappan@gitlab.com>2018-10-17 10:40:26 +0530
committerat.ramya <rauthappan@gitlab.com>2018-10-30 14:42:51 +0530
commit956912e5422df99a58c22f2ca8a64dcc96f7467c (patch)
tree3d393e84231dbcb04c131b90bd4fdd5968cc0b01 /qa
parent5722f63f2d8c69a20c874d32dd14dcd6c669e38b (diff)
downloadgitlab-ce-956912e5422df99a58c22f2ca8a64dcc96f7467c.tar.gz
QA Selectors for Batch Comment E2E Automation
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/merge_request/show.rb26
1 files changed, 26 insertions, 0 deletions
diff --git a/qa/qa/page/merge_request/show.rb b/qa/qa/page/merge_request/show.rb
index b52072d35ac..7f020a878c4 100644
--- a/qa/qa/page/merge_request/show.rb
+++ b/qa/qa/page/merge_request/show.rb
@@ -55,6 +55,32 @@ module QA
element :labels_block
end
+ view 'app/views/projects/merge_requests/show.html.haml' do
+ element :notes_tab
+ element :diffs_tab
+ end
+
+ view 'app/assets/javascripts/diffs/components/diff_line_gutter_content.vue' do
+ element :diff_comment
+ end
+
+ view 'app/assets/javascripts/notes/components/comment_form.vue' do
+ element :note_dropdown
+ element :discussion_option
+ end
+
+ view 'app/assets/javascripts/notes/components/note_form.vue' do
+ element :reply_input
+ end
+
+ view 'app/assets/javascripts/notes/components/noteable_discussion.vue' do
+ element :discussion_reply
+ end
+
+ view 'app/assets/javascripts/diffs/components/parallel_diff_table_row.vue' do
+ element :new_diff_line
+ end
+
def fast_forward_possible?
!has_text?('Fast-forward merge is not possible')
end