mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
Merge branch 'wip-mdl-56087' of https://github.com/rajeshtaneja/moodle
This commit is contained in:
commit
f5e8a744bf
3 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@ Feature: The messages block allows users to list new messages an a course
|
||||||
And I follow "Course 1"
|
And I follow "Course 1"
|
||||||
When I turn editing mode on
|
When I turn editing mode on
|
||||||
And I add the "Messages" block
|
And I add the "Messages" block
|
||||||
Then I should see "No messages waiting" in the "Messages" "block"
|
Then I should see "No messages" in the "Messages" "block"
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
Scenario: View the block by a user who has messages.
|
Scenario: View the block by a user who has messages.
|
||||||
|
|
|
@ -22,7 +22,7 @@ Feature: The messages block allows users to list new messages on the dashboard
|
||||||
Given I log in as "teacher1"
|
Given I log in as "teacher1"
|
||||||
And I press "Customise this page"
|
And I press "Customise this page"
|
||||||
When I add the "Messages" block
|
When I add the "Messages" block
|
||||||
Then I should see "No messages waiting" in the "Messages" "block"
|
Then I should see "No messages" in the "Messages" "block"
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
Scenario: View the block by a user who has messages.
|
Scenario: View the block by a user who has messages.
|
||||||
|
|
|
@ -28,7 +28,7 @@ Feature: The messages block allows users to list new messages on the frontpage
|
||||||
Scenario: View the block by a user who does not have any messages.
|
Scenario: View the block by a user who does not have any messages.
|
||||||
Given I log in as "teacher1"
|
Given I log in as "teacher1"
|
||||||
When I am on site homepage
|
When I am on site homepage
|
||||||
Then I should see "No messages waiting" in the "Messages" "block"
|
Then I should see "No messages" in the "Messages" "block"
|
||||||
|
|
||||||
Scenario: Try to view the block as a guest user.
|
Scenario: Try to view the block as a guest user.
|
||||||
Given I log in as "guest"
|
Given I log in as "guest"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue