
find_button does not match button elements with html entities.
Reported by Noah | January 17th, 2010 @ 06:48 PM
Copied from GitHub Issue # 29
Created 3 months ago by martinemde
I've fixed this in my branch at http://github.com/martinemde/webrat/commit/85b4a07be774d3209f463664...
If you try to match
<button>Erase & Restart</button>
It doesn't match correctly:
find_button("Erase & Restart") # Does not match
find_button("Erase & Restart") # Matches (but is nasty)
Note that this works as expected with the following html:
<input type="submit" value="Erase & Restart">
Simple fix is in my branch.
Comments
martinemde October 18, 2009
Updated the commit url.
mislav October 19, 2009
Fully support. Another related issue: Issue #333
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby Acceptance Testing for Web applications.