diff options
Diffstat (limited to 'qa/qa/page/issuable')
-rw-r--r-- | qa/qa/page/issuable/new.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/qa/qa/page/issuable/new.rb b/qa/qa/page/issuable/new.rb index 7891074092e..c549190c65b 100644 --- a/qa/qa/page/issuable/new.rb +++ b/qa/qa/page/issuable/new.rb @@ -28,6 +28,10 @@ module QA element :assign_to_me_link end + view 'app/views/shared/issuable/form/_template_selector.html.haml' do + element :template_dropdown + end + def fill_title(title) fill_element :issuable_form_title, title end @@ -43,6 +47,13 @@ module QA end end + def choose_template(template_name) + click_element :template_dropdown + within_element(:template_dropdown) do + click_on template_name + end + end + def select_label(label) click_element :issuable_label |