Topic: cucumber selecting from nice dropdowns

i just upgraded my ui with a theme and it has some really nice select boxes but my cucumber decided not to select them anyone.

cucumber

When /^I fill in the work function select with "(.*?)"$/ do |arg1|
  select(@service.name, :from => "schedule_service_id")
end

OLD HTML THAT WOKS

<select id="schedule_service_id" name="schedule[service_id]">
<option value="">Please select</option>
<option value="1">paint</option>
<option value="2">clean</option>
<option value="3">ac</option>
</select>

NEW HTML NOT WORKING

<span class="select replacement replacement" tabindex="0" style="width:103px">
<span class="select-value">Please select</span>
<span class="select-arrow"></span>
<span class="drop-down"></span>
<select id="schedule_service_id" class="" name="schedule[service_id]" style="display: none;">
<option value="">Please select</option>
<option value="1">paint</option>
<option value="2">clean</option>
<option value="3">ac</option>
</select>
</span>

Re: cucumber selecting from nice dropdowns

My guess is that Cucumber isn't seeing the select list.

<select id="schedule_service_id" class="" name="schedule[service_id]" style="display: none;">

Last edited by ToddG (2012-09-15 09:15:11)