MDL-59801 users: Behat fixes
authorDamyon Wiese <damyon@moodle.com>
Thu, 31 Aug 2017 04:32:03 +0000 (12:32 +0800)
committerDamyon Wiese <damyon@moodle.com>
Thu, 31 Aug 2017 04:32:03 +0000 (12:32 +0800)
commitd29be3200086c1aadf403d7d65f75f02c364a9cf
tree6a961c02445af2c43004ecf18618c4a2bd3af2fd
parent4bd649d31ad73003c27d44ab5d5a816b1c21c02d
MDL-59801 users: Behat fixes

Firstly - the list of roles to filter needs to be a combination of the assignable roles and the existing roles in the course.
Secondly - the auto-complete behat step needs to search for entire strings, not substrings.
lib/tests/behat/behat_forms.php
user/renderer.php