module YouTube
  class DashboardPage < BasePage
    div(:reports, text: 'Reports')
    span(:issues, text: "Issues")

    def select_reports
      wait_until { issues_element.present? }
      reports_element.parent.parent.click
    end
  end
end
