diff options
Diffstat (limited to 'qa/qa/page/project/issue/new.rb')
-rw-r--r-- | qa/qa/page/project/issue/new.rb | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/qa/qa/page/project/issue/new.rb b/qa/qa/page/project/issue/new.rb index 65c02801d67..c90a09dce2e 100644 --- a/qa/qa/page/project/issue/new.rb +++ b/qa/qa/page/project/issue/new.rb @@ -4,27 +4,11 @@ module QA module Page module Project module Issue - class New < Page::Base + class New < Page::Issuable::New view 'app/views/shared/issuable/_form.html.haml' do element :issuable_create_button end - view 'app/views/shared/issuable/form/_title.html.haml' do - element :issue_title_textbox, 'form.text_field :title' # rubocop:disable QA/ElementWithPattern - end - - view 'app/views/shared/form_elements/_description.html.haml' do - element :issue_description_textarea, "render 'projects/zen', f: form, attr: :description" # rubocop:disable QA/ElementWithPattern - end - - def add_title(title) - fill_in 'issue_title', with: title - end - - def add_description(description) - fill_in 'issue_description', with: description - end - def create_new_issue click_element :issuable_create_button, Page::Project::Issue::Show end |