#134 ✓resolved
Kyle Hargraves

Fields outside the current scope can still be found

Reported by Kyle Hargraves | January 19th, 2009 @ 12:00 PM

I was upgrading a project to 0.4 and had some failures due to my invalid markup. I have a page with both a form.edit and a form.new, which had identical dom IDs for the fields. When using within('form.new'), the fields from the form.edit (which comes first in the DOM) are being filled in.

Obviously, I fixed this by producing valid markup, but it's still a bug. The attached patch (also at the tip of my fork) is a failing test for this, but I couldn't find a clear way to pass it.

Comments and changes to this ticket

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

Attachments

Tags

Pages