summaryrefslogtreecommitdiff
path: root/qa/qa/page/project/artifact/show.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-05-19 15:44:42 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-05-19 15:44:42 +0000
commit4555e1b21c365ed8303ffb7a3325d773c9b8bf31 (patch)
tree5423a1c7516cffe36384133ade12572cf709398d /qa/qa/page/project/artifact/show.rb
parente570267f2f6b326480d284e0164a6464ba4081bc (diff)
downloadgitlab-ce-4555e1b21c365ed8303ffb7a3325d773c9b8bf31.tar.gz
Add latest changes from gitlab-org/gitlab@13-12-stable-eev13.12.0-rc42
Diffstat (limited to 'qa/qa/page/project/artifact/show.rb')
-rw-r--r--qa/qa/page/project/artifact/show.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/qa/qa/page/project/artifact/show.rb b/qa/qa/page/project/artifact/show.rb
new file mode 100644
index 00000000000..437363d4a98
--- /dev/null
+++ b/qa/qa/page/project/artifact/show.rb
@@ -0,0 +1,19 @@
+# frozen_string_literal: true
+
+module QA
+ module Page
+ module Project
+ module Artifact
+ class Show < QA::Page::Base
+ view 'app/views/projects/artifacts/_tree_directory.html.haml' do
+ element :directory_name_link
+ end
+
+ def go_to_directory(name)
+ click_element(:directory_name_link, directory_name: name)
+ end
+ end
+ end
+ end
+ end
+end