X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/my/tests/behat
home
/
cbholdings
/
pasukulu
/
my
/
tests
/
behat
/
📁
..
📄
add_blocks.feature
(1.03 KB)
📄
my_courses.feature
(6.96 KB)
📄
reset_all_pages.feature
(3.93 KB)
📄
reset_page.feature
(1.08 KB)
📄
restrict_available_blocks.feature
(1.61 KB)
📄
welcome.feature
(1.37 KB)
Editing: add_blocks.feature
@core @core_my Feature: Add blocks to dashboard page In order to add more functionality to dashboard page As a user I need to add blocks to 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 When I turn editing mode on 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 "Timeline" in the "Timeline" "block" And I should see "Calendar" in the "Calendar" "block" And I should not see "Upcoming events"
Upload File
Create Folder