Issue targeting a select2 tag in behat test
Bug #1733995 reported by
Rebecca Blundell
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Rebecca Blundell |
Bug Description
When sharing a page with another user, it is not possible to target the drop-down box with 'Search' placeholder text using css id. Is this an issue with the way select2 search works in Behat? Or something else?
Changed in mahara: | |
importance: | Undecided → Medium |
milestone: | none → 18.04.0 |
Changed in mahara: | |
status: | Incomplete → In Progress |
milestone: | none → 18.10.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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]