Commit 854ddd4b authored by Walmyr Lima's avatar Walmyr Lima

Deletes unused page object and its autoload

parent 4d5fb4ad
......@@ -160,7 +160,6 @@ module QA
module Epic
autoload :Index, 'qa/ee/page/group/epic/index'
autoload :Show, 'qa/ee/page/group/epic/show'
autoload :Edit, 'qa/ee/page/group/epic/edit'
end
module Secure
......
# frozen_string_literal: true
module QA
module EE
module Page
module Group
module Epic
class Edit < QA::Page::Base
include QA::Page::Component::Issuable::Common
def set_title(title)
fill_element :title_input, title
end
def set_description(description)
fill_element :description_textarea, description
end
def save_changes
click_element :save_button
wait(max: 5, interval: 1, reload: false) do
has_no_element?(:save_button)
end
end
def delete_epic
page.accept_alert("Epic will be removed! Are you sure?") do
click_element :delete_button
end
end
end
end
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