summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/sub_menus/super_sidebar/plan.rb
blob: fe45bb6bb6599d7fa5d70492c0c9051d1d7df04d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# frozen_string_literal: true

module QA
  module Page
    module Project
      module SubMenus
        module SuperSidebar
          module Plan
            def self.included(base)
              super

              base.class_eval do
                include QA::Page::SubMenus::SuperSidebar::Plan
              end
            end

            def go_to_requirements
              open_plan_submenu("Requirements")
            end

            def go_to_jira_issues
              open_plan_submenu("Jira issues")
            end

            def go_to_open_jira
              open_plan_submenu("Open Jira")
            end
          end
        end
      end
    end
  end
end