summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMayra Cabrera <mcabrera@gitlab.com>2019-07-29 19:17:45 +0000
committerMayra Cabrera <mcabrera@gitlab.com>2019-07-29 19:17:45 +0000
commitb6b9ccbb335950342589d450ad794a02da045a8a (patch)
tree08f7fb750a98215eb17c481fddac08b68dae4466
parent3dd623d259dc67e2cc4078e345387017902c6413 (diff)
parentd0236453de8614c60f2f64a237966cad2f242f7e (diff)
downloadgitlab-ce-b6b9ccbb335950342589d450ad794a02da045a8a.tar.gz
Merge branch 'tp-qtt182-7' into 'master'
Change qa-issuable-form-description to rspec-issuable-form-description Closes gitlab-org/quality/team-tasks#182 See merge request gitlab-org/gitlab-ce!31209
-rw-r--r--app/views/shared/form_elements/_description.html.haml2
-rw-r--r--spec/features/issues/user_creates_issue_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/form_elements/_description.html.haml b/app/views/shared/form_elements/_description.html.haml
index b11cb8a3076..be78fd0ccfb 100644
--- a/app/views/shared/form_elements/_description.html.haml
+++ b/app/views/shared/form_elements/_description.html.haml
@@ -15,7 +15,7 @@
= render layout: 'projects/md_preview', locals: { url: preview_url, referenced_users: true } do
= render 'projects/zen', f: form, attr: :description,
- classes: 'note-textarea qa-issuable-form-description',
+ classes: 'note-textarea qa-issuable-form-description rspec-issuable-form-description',
placeholder: "Write a comment or drag your files hereā€¦",
supports_quick_actions: supports_quick_actions
= render 'shared/notes/hints', supports_quick_actions: supports_quick_actions
diff --git a/spec/features/issues/user_creates_issue_spec.rb b/spec/features/issues/user_creates_issue_spec.rb
index 2789d574156..a71395c0e47 100644
--- a/spec/features/issues/user_creates_issue_spec.rb
+++ b/spec/features/issues/user_creates_issue_spec.rb
@@ -28,7 +28,7 @@ describe "User creates issue" do
fill_in("Title", with: issue_title)
first('.js-md').click
- first('.qa-issuable-form-description').native.send_keys('Description')
+ first('.rspec-issuable-form-description').native.send_keys('Description')
click_button("Submit issue")