goodwill / capybara-select2

Helper for capybara to be able to trigger select on select2 javascript (needed for js enabled test only)
MIT License
80 stars 111 forks source link

speed up selector for multi select2 #32

Open lacco opened 10 years ago

lacco commented 10 years ago

In case the select2 component is a multi select field, select2_container.has_selector?(".select2-choice") takes Capybara.default_wait_time seconds to complete. We should use non-waiting finders like #first instead.

sentience commented 8 years ago

:+1: