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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/project/tag/show.rb')
-rw-r--r--qa/qa/page/project/tag/show.rb29
1 files changed, 29 insertions, 0 deletions
diff --git a/qa/qa/page/project/tag/show.rb b/qa/qa/page/project/tag/show.rb
new file mode 100644
index 00000000000..1974448a7c5
--- /dev/null
+++ b/qa/qa/page/project/tag/show.rb
@@ -0,0 +1,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