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

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

module QA
  module Page
    module Project
      module Tag
        class Show < Page::Base
          view 'app/views/projects/tags/show.html.haml' do
            element :tag_name_content
            element :tag_message_content
            element :tag_release_notes_content
          end

          def has_tag_name?(text)
            has_element?(:tag_name_content, text: text)
          end

          def has_tag_message?(text)
            has_element?(:tag_message_content, text: text)
          end

          def has_tag_release_notes?(text)
            has_element?(:tag_release_notes_content, text: text)
          end
        end
      end
    end
  end
end