MDL-87540 dashboard: Add course overview block by default
This commit is contained in:
@@ -2820,6 +2820,7 @@ function blocks_add_default_system_blocks() {
|
||||
'recentlyaccesseditems',
|
||||
],
|
||||
'content' => [
|
||||
'myoverview',
|
||||
'timeline',
|
||||
'calendar_month',
|
||||
]]),
|
||||
|
||||
@@ -23,6 +23,7 @@ Feature: Add blocks to dashboard page
|
||||
And I add the "Latest announcements" block
|
||||
And I turn editing mode off
|
||||
Then I should see "Latest announcements" in the "Latest announcements" "block"
|
||||
And I should see "Course overview" in the "Course overview" "block"
|
||||
And I should see "Timeline" in the "Timeline" "block"
|
||||
And I should see "Calendar" in the "Calendar" "block"
|
||||
And I should not see "Upcoming events"
|
||||
|
||||
@@ -23,6 +23,7 @@ Feature: Reset dashboard page to default
|
||||
And I press "Reset page to default"
|
||||
And I click on "Yes" "button" in the "Confirm" "dialogue"
|
||||
Then "Latest announcements" "block" should not exist
|
||||
And "Course overview" "block" should exist
|
||||
And "Timeline" "block" should exist
|
||||
And "Calendar" "block" should exist
|
||||
And I should not see "Reset page to default"
|
||||
|
||||
Reference in New Issue
Block a user