Proyectos de Subversion Moodle

Rev

Rev 11 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 11 Rev 1441
Línea 105... Línea 105...
105
    And I set the following fields to these values:
105
    And I set the following fields to these values:
106
      | Group mode | Visible groups |
106
      | Group mode | Visible groups |
107
    And I navigate to "Communication" in current page administration
107
    And I navigate to "Communication" in current page administration
108
    And the field "Room name" matches value "Matrix room"
108
    And the field "Room name" matches value "Matrix room"
109
    And the field "Room topic" matches value "Matrix topic"
109
    And the field "Room topic" matches value "Matrix topic"
-
 
110
 
-
 
111
  @javascript
-
 
112
  Scenario: Emptying the room name field always sets course name as default
-
 
113
    Given a Matrix mock server is configured
-
 
114
    And I am on the "Test course" "Course" page logged in as "teacher1"
-
 
115
    When I navigate to "Communication" in current page administration
-
 
116
    And I set the following fields to these values:
-
 
117
      | selectedcommunication        | communication_matrix |
-
 
118
    And I wait to be redirected
-
 
119
    And I should see "Room name"
-
 
120
    And I should see "Room topic"
-
 
121
    And I set the following fields to these values:
-
 
122
      | communication_matrixroomname | Matrix room  |
-
 
123
      | matrixroomtopic              | Matrix topic |
-
 
124
    And I click on "Save changes" "button"
-
 
125
    And I navigate to "Communication" in current page administration
-
 
126
    Then the field "Room name" matches value "Matrix room"
-
 
127
    And the field "Room topic" matches value "Matrix topic"
-
 
128
    And I set the following fields to these values:
-
 
129
      | communication_matrixroomname | |
-
 
130
    And I click on "Save changes" "button"
-
 
131
    And I navigate to "Communication" in current page administration
-
 
132
    And the field "Room name" matches value "Test course"