mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-56603 behat: Fixed search messages string to use id
This commit is contained in:
parent
7d3a7bbd1f
commit
d48c0a1d9a
@ -20,12 +20,12 @@ Feature: Search messages
|
||||
Scenario: Search for messages
|
||||
When I log in as "user1"
|
||||
And I follow "Messages" in the user menu
|
||||
And I set the field "Search messages" to "User 2 to User 1"
|
||||
And I set the field "searchtext" to "User 2 to User 1"
|
||||
Then I should see "User 2" in the "search-results-area" "message_area_region"
|
||||
And I should not see "User 3" in the "search-results-area" "message_area_region"
|
||||
|
||||
Scenario: Search for messages no results
|
||||
When I log in as "user1"
|
||||
And I follow "Messages" in the user menu
|
||||
And I set the field "Search messages" to "No message"
|
||||
And I set the field "searchtext" to "No message"
|
||||
Then I should see "No results" in the "search-results-area" "message_area_region"
|
||||
|
Loading…
x
Reference in New Issue
Block a user