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

pages.rb « settings « project « page « qa « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1417f7ec1b5cf30ad185d40c51e5953754f76324 (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
# frozen_string_literal: true

module QA
  module Page
    module Project
      module Settings
        class Pages < Page::Base
          include QA::Page::Settings::Common

          view 'app/views/projects/pages/_access.html.haml' do
            element :access_page_container
          end

          def go_to_access_page
            within_element(:access_page_container) do
              find('a').click
            end
          end
        end
      end
    end
  end
end

QA::Page::Project::Settings::Pages.prepend_mod_with("Page::Project::Settings::Pages", namespace: QA)