Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 272... Línea 272...
272
    # Space & Enter have the same handling for triggering the two functionalities.
272
    # Space & Enter have the same handling for triggering the two functionalities.
273
    And I set the field "Search users" to "User"
273
    And I set the field "Search users" to "User"
274
    And I press the up key
274
    And I press the up key
275
    And I press the enter key
275
    And I press the enter key
276
    And I wait to be redirected
276
    And I wait to be redirected
-
 
277
    # Sometimes with behat we get unattached nodes causing spurious failures.
-
 
278
    And I wait "1" seconds
277
    And the following should exist in the "user-grades" table:
279
    And the following should exist in the "user-grades" table:
278
      | -1-                |
280
      | -1-                |
279
      | Dummy User         |
281
      | Dummy User         |
280
      | User Example       |
282
      | User Example       |
281
      | User Test          |
283
      | User Test          |
282
    And the following should not exist in the "user-grades" table:
284
    And the following should not exist in the "user-grades" table:
283
      | -1-                |
285
      | -1-                |
284
      | Teacher 1          |
286
      | Teacher 1          |
285
      | Student 1          |
287
      | Student 1          |
286
      | Turtle Manatee     |
288
      | Turtle Manatee     |
-
 
289
    And I set the field "Search users" to "ABC"
-
 
290
    And I wait until "Turtle Manatee" "option_role" exists
-
 
291
    And I press the tab key
-
 
292
    And the focused element is "Clear search input" "button"
-
 
293
    And I press the enter key
-
 
294
    And I wait until the page is ready
-
 
295
    And I confirm "Turtle Manatee" in "user" search within the gradebook widget does not exist
Línea 287... Línea 296...
287
 
296
 
288
  Scenario: Once a teacher searches, it'll apply the currently set filters and inform the teacher as such
297
  Scenario: Once a teacher searches, it'll apply the currently set filters and inform the teacher as such
289
    # Set up a basic filtering case.
298
    # Set up a basic filtering case.
290
    Given I click on "Filter by name" "combobox"
299
    Given I click on "Filter by name" "combobox"