MDL-55926 behat: Fixed undefined steps

This commit is contained in:
Rajesh Taneja 2016-10-20 11:26:27 +08:00
parent c24a410f43
commit 48cf062595
No known key found for this signature in database
GPG Key ID: B363F7FB787F80E4

View File

@ -83,7 +83,7 @@ Feature: Access to full profiles of users
And I press "Add"
And I log out
When I log in as "student1"
And I view the "Student 3" contact in messages
And I view the "Student 3" contact in the message area
And I follow "View profile"
Then I should see "First access to site"
@ -99,7 +99,7 @@ Feature: Access to full profiles of users
And I press "Save and display"
And I log out
When I log in as "student1"
And I view the "Student 2" contact in messages
And I view the "Student 2" contact in the message area
And I follow "View profile"
And I should not see "First access to site"
And I should see "The details of this user are not available to you"
@ -117,6 +117,6 @@ Feature: Access to full profiles of users
And I add "Student 2 (student2@example.com)" user to "Group 1" group members
And I log out
And I log in as "student1"
And I view the "Student 2" contact in messages
And I view the "Student 2" contact in the message area
And I follow "View profile"
Then I should see "First access to site"