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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-12-21 16:15:55 +0300
committerGitLab Release Tools Bot <robert+release-tools@gitlab.com>2019-01-02 20:37:04 +0300
commit72506595457431f0d6c5da996ea332788c3a80dd (patch)
tree82bd6958f455801324b22b8b920cf5adf1950585 /spec
parent89bd77b635dd96c184b5cd9f940f32e504484986 (diff)
Merge branch 'markdown-toolbar-btn-fix' into 'master'
Fixes the markdown toolbar buttons Closes #55618 See merge request gitlab-org/gitlab-ce!23979 (cherry picked from commit 82772caf727e3ea59513ffff6693bab1ee37b53f) 3019a567 Fixes the markdown toolbar buttons
Diffstat (limited to 'spec')
-rw-r--r--spec/features/issues/user_creates_issue_spec.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/features/issues/user_creates_issue_spec.rb b/spec/features/issues/user_creates_issue_spec.rb
index 687a6f1eafc..a2ab97b4116 100644
--- a/spec/features/issues/user_creates_issue_spec.rb
+++ b/spec/features/issues/user_creates_issue_spec.rb
@@ -12,7 +12,7 @@ describe "User creates issue" do
visit(new_project_issue_path(project))
end
- it "creates issue" do
+ it "creates issue", :js do
page.within(".issue-form") do
expect(page).to have_no_content("Assign to")
.and have_no_content("Labels")
@@ -25,11 +25,15 @@ describe "User creates issue" do
issue_title = "500 error on profile"
fill_in("Title", with: issue_title)
+ first('.js-md').click
+ first('.qa-issuable-form-description').native.send_keys('Description')
+
click_button("Submit issue")
expect(page).to have_content(issue_title)
.and have_content(user.name)
.and have_content(project.name)
+ expect(page).to have_selector('strong', text: 'Description')
end
end