Commit 195cf4d3 authored by Walmyr Lima's avatar Walmyr Lima

Delete page object methods not in use

parent 854ddd4b
...@@ -38,14 +38,6 @@ module QA ...@@ -38,14 +38,6 @@ module QA
has_element?(:epic_title_text, text: title) has_element?(:epic_title_text, text: title)
end end
end end
def has_no_epic?(title)
# First, check that the new epic button is present,
# meaning that the test is in the right page before
# checking that the epic is not there.
find_element(:new_epic_button)
has_no_element?(:epic_title_text, text: title)
end
end end
end end
end end
......
...@@ -54,12 +54,6 @@ module QA ...@@ -54,12 +54,6 @@ module QA
click_element :edit_button click_element :edit_button
end end
def delete_epic
page.accept_alert("Epic will be removed! Are you sure?") do
click_element :delete_epic_button
end
end
def close_reopen_epic def close_reopen_epic
click_element :close_reopen_epic_button click_element :close_reopen_epic_button
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