Hi everyone,
(Xavier Shay suggested me to post my question here)
Is there a way to avoid the annoying thing below in rspec feedback when the page code is very long?
One time (bad content error) :
Failure/Error: expect(page)...
"Mauvais titre" expected within "h2[id='main_titre']" in following template:
<html><head>
[...
a
very
very
very
long page code (two list, three iframes, etc.)
...]
</body></html>
(the error message is on the top)
Another time (tag missing error):
Failure/Error: expect(page).send(meth, have_tag(tag, attrs))
expected following:
<html><head>
[...
a
very
very
very
long page code (two list, three iframes, etc.)
...]
</body></html>
to have at least 1 element matching "h2[id='main_titre']", found 0.
# ./spec/......'
(the error message is on the bottom)
Couldn't it be nice if error message stands both at the top and at the bottom (or only at the top or at the bottom)?
By the way, thanks to you and the rspec's team for this wonderful tool!
Cheers,
Philippe (from France)