MDL-49799 behat: replaced asd.com with example.com
asd.com is a valid domain, we should use reserved domain names for testing
This commit is contained in:
@@ -8,8 +8,8 @@ Feature: Block users from contacting me
|
||||
Scenario: Block users from contacting me with Javascript enabled
|
||||
Given the following "users" exist:
|
||||
| username | firstname | lastname | email |
|
||||
| user1 | User | One | one@asd.com |
|
||||
| user2 | User | Two | two@asd.com |
|
||||
| user1 | User | One | one@example.com |
|
||||
| user2 | User | Two | two@example.com |
|
||||
And I log in as "user1"
|
||||
And I follow "Messages" in the user menu
|
||||
And I set the field "Search people and messages" to "User Two"
|
||||
|
||||
@@ -7,8 +7,8 @@ Feature: Message history displays correctly
|
||||
Background:
|
||||
Given the following "users" exist:
|
||||
| username | firstname | lastname | email |
|
||||
| user1 | User | One | one@asd.com |
|
||||
| user2 | User | Two | two@asd.com |
|
||||
| user1 | User | One | one@example.com |
|
||||
| user2 | User | Two | two@example.com |
|
||||
And I log in as "user1"
|
||||
And I send "Message 1 from user1 to user2" message to "User Two" user
|
||||
And I send "Message 2 from user1 to user2" message to "User Two" user
|
||||
|
||||
@@ -7,8 +7,8 @@ Feature: Manage contacts
|
||||
Background:
|
||||
Given the following "users" exist:
|
||||
| username | firstname | lastname | email |
|
||||
| user1 | User | One | one@asd.com |
|
||||
| user2 | User | Two | two@asd.com |
|
||||
| user1 | User | One | one@example.com |
|
||||
| user2 | User | Two | two@example.com |
|
||||
And I log in as "user1"
|
||||
And I send "Message 1 from user1 to user2" message to "User Two" user
|
||||
And I send "Message 2 from user1 to user2" message to "User Two" user
|
||||
|
||||
@@ -8,10 +8,10 @@ Feature: An user can message course participants
|
||||
Scenario: An user can message multiple course participants including him/her self
|
||||
Given the following "users" exist:
|
||||
| username | firstname | lastname | email |
|
||||
| teacher1 | Teacher | 1 | teacher1@asd.com |
|
||||
| student1 | Student | 1 | student1@asd.com |
|
||||
| student2 | Student | 2 | student2@asd.com |
|
||||
| student3 | Student | 3 | student3@asd.com |
|
||||
| teacher1 | Teacher | 1 | teacher1@example.com |
|
||||
| student1 | Student | 1 | student1@example.com |
|
||||
| student2 | Student | 2 | student2@example.com |
|
||||
| student3 | Student | 3 | student3@example.com |
|
||||
And the following "courses" exist:
|
||||
| fullname | shortname | format |
|
||||
| Course 1 | C1 | topics |
|
||||
|
||||
@@ -7,8 +7,8 @@ Feature: Users can search their message history
|
||||
Background:
|
||||
Given the following "users" exist:
|
||||
| username | firstname | lastname | email |
|
||||
| user1 | User | One | one@asd.com |
|
||||
| user2 | User | Two | two@asd.com |
|
||||
| user1 | User | One | one@example.com |
|
||||
| user2 | User | Two | two@example.com |
|
||||
And I log in as "user1"
|
||||
When I send "Give me your biscuits" message to "User Two" user
|
||||
And I follow "Messages" in the user menu
|
||||
|
||||
@@ -7,8 +7,8 @@ Feature: Users can send messages to each other
|
||||
Background:
|
||||
Given the following "users" exist:
|
||||
| username | firstname | lastname | email |
|
||||
| user1 | User | One | one@asd.com |
|
||||
| user2 | User | Two | two@asd.com |
|
||||
| user1 | User | One | one@example.com |
|
||||
| user2 | User | Two | two@example.com |
|
||||
|
||||
@javascript
|
||||
Scenario: Using the 'Send message' dialog on one's profile
|
||||
|
||||
Reference in New Issue
Block a user