#21 ✓resolved
ronin-6372 (at lighthouseapp)

clicks_button should allow either <input> tags or <button tags>

Reported by ronin-6372 (at lighthouseapp) | October 17th, 2008 @ 06:04 AM

clicks_button should verify that a submit button exists with a certain text, so:

clicks_button "Go"

would match this html:

but it should also match (and currently doesn't):

Go

The button tag does the exact same thing, but is more flexible.

So, basically, instead of checking for an input tag with an attribute of type set to submit, clicks_button should just look for any tag with an attribute of type='submit'.

Comments and changes to this ticket

  • ronin-6372 (at lighthouseapp)

    ronin-6372 (at lighthouseapp) October 17th, 2008 @ 05:10 PM

    • Assigned user cleared.

    Please ignore this ticket, i'm an idiot . . . I should have checked before posting this ticket. This has been resolved since april in the repository (but is not in the current release of the gem or the plugin).

    For now I just built the gem from source to get the functionality . . . hopefully it will be released in an official version soon.

  • Bryan Helmkamp

    Bryan Helmkamp October 25th, 2008 @ 05:00 PM

    • State changed from “new” to “resolved”

    Hey Fabio,

    I'm going to close this out. I'll be putting together a new release soon.

    -Bryan

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.

New-ticket Create new ticket

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.

Shared Ticket Bins

People watching this ticket

Pages