Commit 5870d5e4 authored by George Tsiolis's avatar George Tsiolis

Update create issue test to check for input placeholders

parent 0dae2d77
...@@ -17,6 +17,9 @@ describe "User creates issue" do ...@@ -17,6 +17,9 @@ describe "User creates issue" do
expect(page).to have_no_content("Assign to") expect(page).to have_no_content("Assign to")
.and have_no_content("Labels") .and have_no_content("Labels")
.and have_no_content("Milestone") .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 end
issue_title = "500 error on profile" issue_title = "500 error on profile"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment