Skip to content

Commit

Permalink
MDL-56391 core_user: fixed failing behat
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjnelson committed Nov 24, 2016
1 parent ff8b71e commit bb3a1d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions user/tests/behat/view_full_profile.feature
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Feature: Access to full profiles of users
And I log out
When I log in as "student1"
And I view the "Student 3" contact in the message area
And I follow "View profile"
And I click on ".profile-picture" "css_element"
Then I should see "First access to site"

@javascript
Expand All @@ -100,7 +100,7 @@ Feature: Access to full profiles of users
And I log out
When I log in as "student1"
And I view the "Student 2" contact in the message area
And I follow "View profile"
And I click on ".profile-picture" "css_element"
And I should not see "First access to site"
And I should see "The details of this user are not available to you"
And I log out
Expand All @@ -118,5 +118,5 @@ Feature: Access to full profiles of users
And I log out
And I log in as "student1"
And I view the "Student 2" contact in the message area
And I follow "View profile"
And I click on ".profile-picture" "css_element"
Then I should see "First access to site"

0 comments on commit bb3a1d6

Please sign in to comment.