Allow for clicks_link where the link is an image
Reported by Josh Knowles | April 30th, 2008 @ 12:04 PM
Need to allow for clicking an image link. Something like clicks_link(dom_id)
Comments and changes to this ticket
-

-
Tim Harper October 8th, 2008 @ 03:27 AM
Any progress made on this? It seems like this would be a pretty easy fix.
-
Tim Harper October 8th, 2008 @ 03:29 AM
One possible idea would be to build a CSS selector class, constructed via:
clicks_link CSS("li#general")
This could be applied to lots of stuff - form elements, buttons, radio buttons, etc.
-
fairchild November 24th, 2008 @ 02:01 PM
- → Tag changed from to featurerequest
This appears to have been accomplished. See the last click_button spec
it "should recognize button tags by content" do with_html <<-HTML <form method="get" action="/login"> <input id="user_email" name="user[email]" value="" type="text" /> <button type="submit">Login</button> </form> HTML webrat_session.should_receive(:get).with("/login", "user" => {"email" => ""}) click_button "Login" end -
-
Bryan Helmkamp November 25th, 2008 @ 05:52 PM
- → State changed from new to resolved
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
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
