[Rails] cucumber/webrat field issue

2010-02-28 Thread Me
This may be a bit off topic but when running my cucumber tests for clearance, webrat said it cannot find the password confirmation field. Could not find field: Confirm password (Webrat::NotFoundError) (eval):2:in `fill_in' ./features/step_definitions/web_steps.rb:34:in `/^(?:|I )fill in ([^ \]*)

Re: [Rails] cucumber/webrat field issue

2010-02-28 Thread Curtis Cooley
Case issue: Confirm Password is what is actually on the page? When I have problems with tools that parse web pages, my first attack is to load the page in a browser and view the HTML source. It's usually some silly typo. On Sun, Feb 28, 2010 at 10:30 AM, Me chabg...@gmail.com wrote: This may be

Re: [Rails] cucumber/webrat field issue

2010-02-28 Thread Chris Habgood
It appears to be looking for the actual text on the page because it finds the other fields that is what text is on the page. It should work as this stuff is generated from the cucmber/generator with clearance. Here is the page source: fieldset class=inputsol li class=string