MDL-39232 behat: Adding @_only_local tag
[moodle.git] / message / tests / behat / search_history.feature
CommitLineData
1091aca7
DM
1@core_message
2Feature: Users can search their message history
3 In order to read old messages
4 As a moodle user
5 I need to search in my messages history
6
7 Background:
8 Given the following "users" exists:
9 | username | firstname | lastname | email |
10 | user1 | User | One | one@asd.com |
11 | user2 | User | Two | two@asd.com |
12 And I log in as "user1"
13 When I send "Give me your biscuits" message to "user2"
14 And I follow "Messages"
15 And I fill in "Search people and messages" with "your biscuits"
16 And I press "Search people and messages"
17 Then I should see "User Two"
18 And I click on "context" "link" in the "User Two" table row
19 And I should see "Give me your biscuits"
20
21 @javascript
22 Scenario: Search message history with Javascript enabled
23
24 Scenario: Search message history with Javascript disabled