Commit 956912e5 authored by at.ramya's avatar at.ramya

QA Selectors for Batch Comment E2E Automation

parent 5722f63f
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
:show-comment-button="true" :show-comment-button="true"
:diff-view-type="parallelDiffViewType" :diff-view-type="parallelDiffViewType"
line-position="right" line-position="right"
class="diff-line-num new_line" class="diff-line-num new_line qa-new-diff-line"
/> />
<td <td
:id="line.right.lineCode" :id="line.right.lineCode"
......
...@@ -55,6 +55,32 @@ module QA ...@@ -55,6 +55,32 @@ module QA
element :labels_block element :labels_block
end 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? def fast_forward_possible?
!has_text?('Fast-forward merge is not possible') !has_text?('Fast-forward merge is not possible')
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