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:
>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
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