#275 new

Fields labeled with labels ending with ':' are not found

Reported by Ingo | August 6th, 2009 @ 04:59 AM

I have a field labeled 'Start week:'. Webrat is not able to find that field based on that label. This is due to the regexp in:


text(label_element) =~ /^\W*#{Regexp.escape(@value.to_s)}\b/i

The \b (word boundary) prevents the regexp from matching. I worked fine once I replaced '\b' with '\W*$'


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.

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

Referenced by