Rev 1 | AutorÃa | Comparar con el anterior | Ultima modificación | Ver Log |
@communication @communication_matrixFeature: Communication matrix form fieldIn order to create a new communication room in matrixAs a teacherI can update the room the information from courseBackground: Make sure the mock server is initialized and a course is created for teacherGiven the following "users" exist:| username | firstname | lastname | email || teacher1 | Teacher | 1 | teacher1@example.com |And the following "courses" exist:| fullname | shortname | category || Test course | Test course | 0 |And the following "course enrolments" exist:| user | course | role || teacher1 | Test course | editingteacher |@javascriptScenario: I can add room name and topic for matrix roomGiven a Matrix mock server is configuredAnd I am on the "Test course" "Course" page logged in as "teacher1"When I navigate to "Communication" in current page administrationAnd I set the following fields to these values:| selectedcommunication | communication_matrix |And I wait to be redirectedAnd I set the following fields to these values:| communication_matrixroomname | Sampleroomname || matrixroomtopic | Sampleroomtopic |And I should see "Room name"And I should see "Room topic"And I press "Save changes"And I navigate to "Communication" in current page administrationThen the field "Room name" matches value "Sampleroomname"And the field "Room topic" matches value "Sampleroomtopic"