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

templates.rb « project « component « page « qa « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8baf15acdff53e920e88b7eb4fd724060c74cbf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module QA
  module Page::Component
    module Project
      module Templates
        def use_template_for_project(project_name)
          within find_element(:template_option_row, text: project_name) do
            click_element :use_template_button
          end
        end
      end
    end
  end
end