
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 set 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 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.
People watching this ticket
Tags
Referenced by
-
15 Can't seem to clicks_button an image button Ah. This looks like a dupe of #8.