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
diff options
context:
space:
mode:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2018-06-29 20:30:00 +0300
committerGeorge Tsiolis <tsiolis.g@gmail.com>2018-06-29 20:34:31 +0300
commit5870d5e4d481ed1a129d8b35c96b912b809da9d1 (patch)
treee8e53b28dc92389fd89f09e0df68572c5201c79e /spec/features/projects/issues
parent0dae2d777c3f7c7ceb9e5cc4f38878e2fef947ff (diff)
Update create issue test to check for input placeholders
Diffstat (limited to 'spec/features/projects/issues')
-rw-r--r--spec/features/projects/issues/user_creates_issue_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/features/projects/issues/user_creates_issue_spec.rb b/spec/features/projects/issues/user_creates_issue_spec.rb
index e76f7c5589d..5e8662100c5 100644
--- a/spec/features/projects/issues/user_creates_issue_spec.rb
+++ b/spec/features/projects/issues/user_creates_issue_spec.rb
@@ -17,6 +17,9 @@ describe "User creates issue" do
expect(page).to have_no_content("Assign to")
.and have_no_content("Labels")
.and have_no_content("Milestone")
+
+ expect(page.find('#issue_title')['placeholder']).to eq 'Title'
+ expect(page.find('#issue_description')['placeholder']).to eq 'Write a comment or drag your files hereā€¦'
end
issue_title = "500 error on profile"