MDL-59801 tool_lp: Behat fix for autocomplete

An earlier Behat fix made the use of autocomplete stricter on checking
an exact match instead of a substring, which in turn broke this use
which was searching for a partial match.
This commit is contained in:
Andrew Nicols 2017-09-01 08:24:49 +08:00
parent 256518a635
commit c7c5d12353

View File

@ -29,7 +29,7 @@ Feature: Manage plearning plan
And I navigate to "Competencies > Learning plan templates" in site administration
And I click on ".template-userplans" "css_element" in the "Science template" "table_row"
And I open the autocomplete suggestions list
And I click on "Admin" item in the autocomplete list
And I click on "Admin User" item in the autocomplete list
And I press key "27" in the field "Select users to create learning plans for"
When I click on "Create learning plans" "button"
Then I should see "A learning plan was created"