mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-66504 lang: Apply cantblockuser changes to behat tests
This commit is contained in:
parent
d4985a7739
commit
1bf2b6d52a
1 changed files with 2 additions and 2 deletions
|
@ -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 open contact menu
|
||||
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
|
||||
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 open contact menu
|
||||
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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue