Zhoran Tvalve wrote:
> Hi,
> I'm implementing user registration Cucumber scenario. Intentionally
> leaving CAPTCHA solution field empty I expect to pass my custom
> 
> THEN I should see "Captcha solution could not be blank"
> (not exactly that message because of i18n, doesn't matter)
> 
> but the scenario fails with the message: "expected the following
> element's content to include "Captcha solution could not be blank".
> 
> Inspecting response content which was flushed below the error message I
> could not find any validation error message indeed. That is why I doubt
> validation was done at all.
> 

just checked out that the error message appears at the page opended by 
save_and_open_page right before failing THEN statement. Validation was 
done, that's good.

Any ideas why it absents in the page dump which cucumber produces after 
THEN failing?
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to