capybara-select2
capybara-select2 copied to clipboard
Helper for capybara to be able to trigger select on select2 javascript (needed for js enabled test only)
I have two select2 `Unit` and `Unit Type` when I do ``` select2 "ABC", from: "Unit" ``` Then I got error ``` Ambiguous match, found 2 elements matching visible css...
Hi, I am trying to select an option in my select2 that is inside an optgroup. The error in capybara I get is: `Ambiguous match, found 2 elements matching css...
Hi, I'm trying to use capybara-select with `minitest-rails-capybara` with no success. Could you point me into the direction on how to configure capybara-select2 to be included into minitest? TIA
there hasn't been a new commit to this project in over a year, and has pull requests dating back to 2013. I'm guessing this project is no longer maintained. If...
#37 changed the code which finds the select2 input from using `first` to using `find`. Unfortunately Capybara chokes when it can't find a unique element with `find` - which happens...
When options are grouped, their group has the class select2-results__option, and the attribute role=group. Absent this fix, that means selections against grouped fields result in: ``` Capybara::Ambiguous: Ambiguous match, found...
There is an issue with optgroups because the labels of the optgroups also have the class `select2-results__option`. Adding the role to the selector fixes this issue. More details about the...
The last version was released almost a year ago, while the current master has useful improvements, such as select2 4.0 support. I am currently using a github ref, which works...