Я работаю в приложении C #, делающем автоматический тест с Capybara и RSpec (для сроков ...), когда я использую fill_in, как это
fill_in 'Nombre del cliente', с: "именем пользователя123 "
консоль сказала
Ошибка / Ошибка: fill_in 'Nombre del cliente', с:" 1365 "
Capybara::ElementNotFound:
Unable to find field "Nombre del cliente" that is not disabled
полный HTML-код селектора:
<div class="col-md-2">
<label>Cliente:</label>
<input type="text" ng-model="clienteSeleccionado" placeholder="Nombre del cliente" class="form-control ng-pristine ng-valid ng-empty ng-touched" uib-typeahead="cliente as cliente.Nombre for cliente in clientesFiltrados($viewValue)" typeahead-loading="cargandoClientes" typeahead-no-results="noResults" typeahead-on-select="clienteTypeaheaad($item, $model, $label, $event)" typeahead-min-length="3" aria-autocomplete="list" aria-expanded="false" aria-owns="typeahead-5-6227"><ul class="dropdown-menu ng-isolate-scope ng-hide" ng-show="isOpen() && !moveInProgress" ng-style="{top: position().top+'px', left: position().left+'px'}" role="listbox" aria-hidden="true" uib-typeahead-popup="" id="typeahead-5-6227" matches="matches" active="activeIdx" select="select(activeIdx, evt)" move-in-progress="moveInProgress" query="query" position="position" assign-is-open="assignIsOpen(isOpen)" debounce="debounceUpdate">
<!-- ngRepeat: match in matches track by $index -->
</ul>
<i ng-show="cargandoClientes" class="fa fa-refresh ng-hide"></i>
<div ng-show="noResults" class="ng-hide">
<i class="fa fa-remove"></i> Cliente no encontrado
</div>
<i class="fa fa-remove ng-hide" ng-show="clienteSeleccionado" ng-click="clienteS
eleccionado = null; getPage()"></i>
</div>
Я пробовал разные вещи.Любая идея?Thx