Hirurg103/capybara_select2

Cannot select an option which happens to already be selected

Closed this issue · 2 comments

Hi,

See

53a9bf4#r36300327

I think the operation select2 @manager.name, css: '.membership_contact_id' should be idempotent; it should not matter if the option was already selected.

I believe we could fix this this changing line:

53a9bf4#diff-ae92043bee3928497c5f6e5365d219bdL30-R30

to:

'4' => ".select2-results .select2-results__option"

Also having this problem, would be great if this could be updated.

I think the operation select2 @manager.name, css: '.membership_contact_id' should be idempotent; it should not matter if the option was already selected.

I agree @Nerian . Will fix it asap