I'm writing some Geb test for a form. For some reason I can't hit any of the dropdowns in my form.
Example field:
<div class="col-sm-2">
State<g:select name="submitterState" from="stuff..." class="form-control" optionKey="id" required="" value=""/>
</div>
I've written the test itself three different ways and none of them hit the select. Where 102727 is one of the values of the dropdown.
$('#submitterState').value(102727)
$("form").submitterState = 102727
$('select', name: 'submitterState').value(102727)
Do I have something wrong with my test, or is there something behind it I'm not seeing? -r