diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-06-29 20:30:00 +0300 |
---|---|---|
committer | George Tsiolis <tsiolis.g@gmail.com> | 2018-06-29 20:34:31 +0300 |
commit | 5870d5e4d481ed1a129d8b35c96b912b809da9d1 (patch) | |
tree | e8e53b28dc92389fd89f09e0df68572c5201c79e /spec/features/projects | |
parent | 0dae2d777c3f7c7ceb9e5cc4f38878e2fef947ff (diff) |
Update create issue test to check for input placeholders
Diffstat (limited to 'spec/features/projects')
-rw-r--r-- | spec/features/projects/issues/user_creates_issue_spec.rb | 3 |
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" |