#192 open
Eric Kramer

Specify JRuby version-level prerequisite

Reported by Eric Kramer | March 10th, 2009 @ 10:39 AM

Attempting to use Webrat under JRuby 1.1.4 yields no joy as the locators throw Webrat::NotFoundError in many cases. Switching to JRuby 1.1.6 seems to have completely eliminated the Webrat errors that plagued my tests. This may be related to different versions of REXML bundled with JRuby (?). I suggest that you specify a minimum version of JRuby (>= 1.1.6 thus far).

Attached is a test spec (kindly created by Ryan Briones with some adjustments by me) that demonstrates the issue. Runs fine under JRuby 1.1.6 but under JRuby 1.1.4 the first spec fails with:

Webrat::NotFoundError: Could not find link with text or title or id "Test"

(I experienced similar problems trying to use buttons, etc. via WebRat under JRuby 1.1.4)

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

Pages