summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/issue/new.rb
blob: c90a09dce2e570cfec41c59a0e51aeab7e89125a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

module QA
  module Page
    module Project
      module Issue
        class New < Page::Issuable::New
          view 'app/views/shared/issuable/_form.html.haml' do
            element :issuable_create_button
          end

          def create_new_issue
            click_element :issuable_create_button, Page::Project::Issue::Show
          end
        end
      end
    end
  end
end