AutorÃa | Ultima modificación | Ver Log |
@block @block_multiblockFeature: Basic tests of multiple blocksIn order to streamline course presentationAs a teacherI need to be able to put multiple blocks in a single spaceScenario: Adding a Course Toolkit with two sub-blocksGiven the following "users" exist:| username | firstname | lastname | email || teacher1 | Teacher | One | teacher@example.com || 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 || teacher1 | C1 | editingteacher || student1 | C1 | student |When I log in as "teacher1"And I am on "Course 1" course homepage with 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 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 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 "Course 1" course homepageThen I should see "Multiblock"And I should see "Logged in user"And I should see "Recent activity"