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

welcome.rb « dashboard « page « qa « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6f645e168c7dc9a5dc6c9343e0c07b6e232d1076 (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 Dashboard
      class Welcome < Page::Base
        view 'app/views/dashboard/projects/_zero_authorized_projects.html.haml' do
          element :welcome_title_content
        end

        def has_welcome_title?(text)
          has_element?(:welcome_title_content, text: text)
        end

        def self.path
          '/'
        end
      end
    end
  end
end