lib/softwear/library/spec.rb in softwear-lib-3.1.5 vs lib/softwear/library/spec.rb in softwear-lib-3.3.5

- old
+ new

@@ -98,10 +98,10 @@ end old_scopes = page.instance_variable_get(:@scopes) page.instance_variable_set(:@scopes, [nil]) - find('input.select2-search__field').set(text) + find('input.select2-search__field[tabindex="0"]').set(text) sleep options[:wait_before_click] if options[:wait_before_click] result = first('li.select2-results__option') if result.nil? || result.text == "No results found" raise %(No results matching "#{text}" found during select2) else