Welcome to mirror list, hosted at ThFree Co, Russian Federation.

edit.rb « wiki « project « page « qa « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f6edc28c41a7feed6326704629c659ef6ef8937f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# frozen_string_literal: true

module QA
  module Page
    module Project
      module Wiki
        class Edit < Page::Base
          view 'app/views/projects/wikis/_main_links.html.haml' do
            element :new_page_link, 'New page' # rubocop:disable QA/ElementWithPattern
            element :page_history_link, 'Page history' # rubocop:disable QA/ElementWithPattern
            element :edit_page_link, 'Edit' # rubocop:disable QA/ElementWithPattern
          end

          def click_edit
            click_on 'Edit'
          end
        end
      end
    end
  end
end