Update create issue test to check for input placeholders
This commit is contained in:
parent
0dae2d777c
commit
5870d5e4d4
1 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue