Re: [rspec-users] issues when trying to select an option in a drop down list

2012-03-01 Thread S Ahmed
Yes I made the request, my test case was working fine with all my other fields. I just added the dropdown list and updated the test case, and it can't seem to find the element. On Thu, Mar 1, 2012 at 12:56 AM, Ben Atkin wrote: > >From reading the error and the docs, it sounds like the last one:

Re: [rspec-users] issues when trying to select an option in a drop down list

2012-02-29 Thread Ben Atkin
>From reading the error and the docs, it sounds like the last one: select 'Honda', :from => "account[car_type]" ...should work. The one thing I can think of that might keep it from working would be not being scoped to an area that includes the select box. Perhaps you could install pry and add bin

[rspec-users] issues when trying to select an option in a drop down list

2012-02-29 Thread S Ahmed
My html looks like: Acura Honda Ford Toyota GM My requests spec looks like: before do select '7', :from => "account[car_type]" fill_in .. .. end I get the error message: Failure/Error: select '7', :from => "account[car_type]" Capybara::ElementNotFound: cannot select option