Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
335 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module PageObjects
module Pages
class AdminBase < Base
def click_tab(tab_name)
header.tab(tab_name).click
end
delegate(:has_tabs?, :has_active_tab?, to: :header)
private
def header
@header ||= Components::DPageHeader.new
end
end
end
end