We have a couple of ways of accessing select2 in behat
And I set the select2 value "Collection UserA_05" for "editaccess_collections"
- used when the select2 is pre-populated with data
And I fill in select2 input "sendmessage_recipients" with "UserA" and select "Angela User (UserA)"
- used when the select2 needs to fetch data via ajax
In the case of the access list page we should be able to target the select id, eg: accesslist[0][id]
We have a couple of ways of accessing select2 in behat
And I set the select2 value "Collection UserA_05" for "editaccess_ collections"
- used when the select2 is pre-populated with data
And I fill in select2 input "sendmessage_ recipients" with "UserA" and select "Angela User (UserA)"
- used when the select2 needs to fetch data via ajax
In the case of the access list page we should be able to target the select id, eg: accesslist[0][id]