Update create issue test to check for input placeholders

This commit is contained in:
George Tsiolis 2018-06-29 20:30:00 +03:00
parent 0dae2d777c
commit 5870d5e4d4
1 changed files with 3 additions and 0 deletions

View File

@ -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"