AutorÃa | Ultima modificación | Ver Log |
@block @block_multiblock @javascriptFeature: Front page testIn order to customise the front pageAs a teacherI need to be able to put multiple blocks in a single spaceScenario: Adding a Multiblock on the front pageGiven the following "users" exist:| username | firstname | lastname | email || student1 | Student | User | student1@example.com |And the following "courses" exist:| fullname | shortname || Course 1 | C1 |And the following "course enrolments" exist:| user | course | role || student1 | C1 | student |When I log in as "admin"And I am on site homepageAnd I turn editing mode onAnd I add the "Multiblock" blockAnd I manage the contents of "Multiblock" blockAnd I should see "This multiblock has no blocks inside it."And I expand all fieldsetsAnd I set the field "Add a block" to "Logged in user"And I click on "input[value=Add]" "css_element"And I should see "Manage Multiblock contents"And I should see "Logged in user"And I expand all fieldsetsAnd I set the field "Add a block" to "Recent activity"And I click on "input[value=Add]" "css_element"And I log outAnd I log in as "student1"And I am on site homepageThen I should see "Multiblock"And I should see "Logged in user"And I should see "Recent activity"