diff options
Diffstat (limited to 'qa/qa/page/component/project/templates.rb')
-rw-r--r-- | qa/qa/page/component/project/templates.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/qa/qa/page/component/project/templates.rb b/qa/qa/page/component/project/templates.rb new file mode 100644 index 00000000000..8baf15acdff --- /dev/null +++ b/qa/qa/page/component/project/templates.rb @@ -0,0 +1,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 |