Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
@communication @communication_matrix @javascriptFeature: 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 |Scenario: I can add room name for matrix roomGiven a Matrix mock server is configuredAnd I log in as "teacher1"And I am on "Test course" course homepageWhen I navigate to "Communication" in current page administrationAnd I set the field "id_selectedcommunication" to "Matrix"And I wait to be redirectedAnd I should see "Room name"And I set the field "id_communicationroomname" to "Sampleroomname"And I press "Save changes"And I navigate to "Communication" in current page administrationThen the field "id_communicationroomname" matches value "Sampleroomname"Scenario: I can add room topic for matrix roomGiven a Matrix mock server is configuredAnd I log in as "teacher1"And I am on "Test course" course homepageWhen I navigate to "Communication" in current page administrationAnd I set the field "id_selectedcommunication" to "Matrix"And I wait to be redirectedAnd I should see "Room name"And I should see "Room topic"And I set the field "id_communicationroomname" to "Sampleroomname"And I set the field "id_matrixroomtopic" to "Sampleroomtopic"And I press "Save changes"And I navigate to "Communication" in current page administrationThen the field "id_communicationroomname" matches value "Sampleroomname"And I press "Cancel"And I run all adhoc tasksAnd I navigate to "Communication" in current page administrationAnd the field "id_matrixroomtopic" matches value "Sampleroomtopic"