Commit b8a3dfeb authored by Walmyr Lima's avatar Walmyr Lima

Update page object with new element and method

parent 8e697fb5
......@@ -22,6 +22,7 @@ module QA
element :boards_dropdown
element :boards_dropdown_content
element :create_new_board_button
element :delete_board_button
end
view 'app/assets/javascripts/vue_shared/components/deprecated_modal.vue' do
......@@ -128,6 +129,12 @@ module QA
set_name(board_name)
end
def delete_current_board
click_boards_dropdown_button
click_element(:delete_board_button)
click_element(:save_changes_button)
end
def has_modal_board_name_field?
has_element?(:board_name_field, wait: 1)
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