__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
@core @core_my
Feature: Reset dashboard page to default
In order to remove customisations from dashboard page
As a user
I need to reset dashboard page
Background:
Given the following "users" exist:
| username | firstname | lastname | email |
| student1 | Student | 1 | student1@example.com |
| student2 | Student | 2 | student2@example.com |
And the following "courses" exist:
| fullname | shortname | format |
| Course 1 | C1 | topics |
And the following "course enrolments" exist:
| user | course | role |
| student1 | C1 | student |
| student2 | C1 | student |
And I log in as "student1"
Scenario: Add blocks to page and reset
When I turn editing mode on
And I add the "Latest announcements" block
And I add the "Comments" block
And I press "Reset page to default"
Then I should not see "Latest announcements"
And I should see "Timeline"
And I should see "Calendar"
And I should not see "Upcoming events"
And I should not see "Comments"
And I should not see "Reset page to default"
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| add_blocks.feature | File | 1.03 KB | 0777 |
|
| my_courses.feature | File | 13.34 KB | 0777 |
|
| preferences_navigation.feature | File | 4.95 KB | 0777 |
|
| reset_all_pages.feature | File | 3.93 KB | 0777 |
|
| reset_page.feature | File | 1.08 KB | 0777 |
|
| restrict_available_blocks.feature | File | 1.61 KB | 0777 |
|
| welcome.feature | File | 1.91 KB | 0777 |
|