Commit f2097833 authored by Walmyr Lima's avatar Walmyr Lima

Update page object with new elements and methods

parent e6dab425
......@@ -16,9 +16,30 @@ module QA
view 'ee/app/views/projects/issues/_issue_weight.html.haml' do
element :issuable_weight
end
view 'ee/app/views/projects/issues/export_csv/_button.html.haml' do
element :export_as_csv_button
end
view 'ee/app/views/projects/issues/export_csv/_modal.html.haml' do
element :export_issues_button
element :export_issues_modal
end
end
end
def click_export_as_csv_button
click_element(:export_as_csv_button)
end
def click_export_issues_button
click_element(:export_issues_button)
end
def export_issues_modal
find_element(:export_issues_modal)
end
def issuable_weight
find_element(:issuable_weight)
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