MDL-66504 lang: Apply cantblockuser changes to behat tests

This commit is contained in:
Eloy Lafuente (stronk7) 2019-09-02 19:00:28 +02:00
parent d4985a7739
commit 1bf2b6d52a

View file

@ -40,7 +40,7 @@ Feature: To be able to block users that we are able to or to see a message if we
And I select "Teacher 1" user in messaging And I select "Teacher 1" user in messaging
And I open contact menu And I open contact menu
When I click on "Block" "link" in the "[data-region='header-container']" "css_element" When I click on "Block" "link" in the "[data-region='header-container']" "css_element"
Then I should see "You are unable to block Teacher 1" Then I should see "You can't block Teacher 1"
Scenario: Block a user who then gets an elevated role Scenario: Block a user who then gets an elevated role
Given I log in as "student1" Given I log in as "student1"
@ -64,4 +64,4 @@ Feature: To be able to block users that we are able to or to see a message if we
And I select "Student 2" user in messaging And I select "Student 2" user in messaging
And I open contact menu And I open contact menu
When I click on "Block" "link" in the "[data-region='header-container']" "css_element" When I click on "Block" "link" in the "[data-region='header-container']" "css_element"
Then I should see "You are unable to block Student 2" Then I should see "You can't block Student 2"