Commit 1b4e3e74 authored by at.ramya's avatar at.ramya

removing duplicate definitions

parent 75cfba9d
...@@ -55,32 +55,6 @@ module QA ...@@ -55,32 +55,6 @@ 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/inline_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
...@@ -186,7 +160,7 @@ module QA ...@@ -186,7 +160,7 @@ module QA
end end
def reply_to_discussion(reply_text) def reply_to_discussion(reply_text)
all_elements(:discussion_reply).first.click all_elements(:discussion_reply).last.click
fill_element :reply_input, reply_text fill_element :reply_input, reply_text
end end
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