Skip to content
Snippets Groups Projects
Commit 253bb8db authored by Walmyr Lima e Silva Filho's avatar Walmyr Lima e Silva Filho
Browse files

Update page object with new element and method

parent 0d1eb7d6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -10,6 +10,10 @@ module QA
element :discussion_option
end
 
base.view 'app/assets/javascripts/notes/components/note_actions.vue' do
element :note_edit_button
end
base.view 'app/assets/javascripts/notes/components/note_form.vue' do
element :reply_input
element :reply_comment_button
Loading
Loading
@@ -49,6 +53,12 @@ module QA
def expand_replies
click_element :expand_replies
end
def edit_comment(text)
click_element :note_edit_button
fill_element :reply_input, text
click_element :reply_comment_button
end
end
end
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment