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]

** Changed in: mahara
       Status: In Progress => Incomplete

** Changed in: mahara
    Milestone: 18.04.0 => None

You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!

  Issue targeting a select2 tag in behat test

Status in Mahara:

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

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to