Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 20... Línea 20...
20
    And I change window size to "large"
20
    And I change window size to "large"
Línea 21... Línea 21...
21
 
21
 
22
  Scenario: A teacher can search for and find a grade item to view
22
  Scenario: A teacher can search for and find a grade item to view
23
    Given I click on "Grade items" "link" in the ".page-toggler" "css_element"
23
    Given I click on "Grade items" "link" in the ".page-toggler" "css_element"
24
    And I click on ".gradesearchwidget" "css_element"
24
    And I click on ".gradesearchwidget" "css_element"
25
    When I confirm "Test assignment one" in "grade" search within the gradebook widget exists
25
    When I confirm "Test assignment one" exists in the "Search items" search combo box
26
    And I confirm "Test assignment two" in "grade" search within the gradebook widget exists
26
    And I confirm "Test assignment two" exists in the "Search items" search combo box
27
    Then I set the field "Search items" to "two"
27
    Then I set the field "Search items" to "two"
28
    And I wait until "Test assignment one" "option_role" does not exist
28
    And I wait until "Test assignment one" "option_role" does not exist
29
    And I confirm "Test assignment one" in "grade" search within the gradebook widget does not exist
29
    And I confirm "Test assignment one" does not exist in the "Search items" search combo box
30
    And I confirm "Test assignment two" in "grade" search within the gradebook widget exists
30
    And I confirm "Test assignment two" exists in the "Search items" search combo box
31
    And I click on "Test assignment two" in the "grade" search widget
31
    And I click on "Test assignment two" in the "Search items" search combo box
32
    # The search input remains in the field on reload this is in keeping with other search implementations.
32
    # The search input remains in the field on reload this is in keeping with other search implementations.
33
    And I click on ".gradesearchwidget" "css_element"
33
    And I click on ".gradesearchwidget" "css_element"
34
    And the field "Search items" matches value "two"
34
    And the field "Search items" matches value "two"
35
    Then I set the field "Search items" to "Turtle"
35
    Then I set the field "Search items" to "Turtle"