Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 34... Línea 34...
34
    And I press "Save and display"
34
    And I press "Save and display"
35
    When I navigate to "View > Grader report" in the course gradebook
35
    When I navigate to "View > Grader report" in the course gradebook
36
    Then ".groupsearchwidget" "css_element" should not exist
36
    Then ".groupsearchwidget" "css_element" should not exist
Línea 37... Línea 37...
37
 
37
 
38
  Scenario: A teacher can search for and find a group to display
38
  Scenario: A teacher can search for and find a group to display
39
    Given I confirm "Tutor group" in "group" search within the gradebook widget exists
39
    Given I confirm "Tutor group" exists in the "Search groups" search combo box
40
    And I confirm "Marker group" in "group" search within the gradebook widget exists
40
    And I confirm "Marker group" exists in the "Search groups" search combo box
41
    When I set the field "Search groups" to "tutor"
41
    When I set the field "Search groups" to "tutor"
42
    And I wait until "Marker group" "option_role" does not exist
42
    And I wait until "Marker group" "option_role" does not exist
43
    Then I confirm "Tutor group" in "group" search within the gradebook widget exists
43
    Then I confirm "Tutor group" exists in the "Search groups" search combo box
44
    And I confirm "Marker group" in "group" search within the gradebook widget does not exist
44
    And I confirm "Marker group" does not exist in the "Search groups" search combo box
45
    And I click on "Tutor group" in the "group" search widget
45
    And I click on "Tutor group" in the "Search groups" search combo box
46
    # The search input remains in the field on reload this is in keeping with other search implementations.
46
    # The search input remains in the field on reload this is in keeping with other search implementations.
47
    And I click on ".groupsearchwidget" "css_element"
47
    And I click on ".groupsearchwidget" "css_element"
48
    And the field "Search groups" matches value "tutor"
48
    And the field "Search groups" matches value "tutor"
49
    Then I set the field "Search groups" to "Turtle"
49
    Then I set the field "Search groups" to "Turtle"
Línea 50... Línea 50...
50
    And I should see "No results for \"Turtle\""
50
    And I should see "No results for \"Turtle\""
51
 
51
 
52
  Scenario: A teacher can only see the group members in the 'user' search widget after selecting a group option
52
  Scenario: A teacher can only see the group members in the 'user' search widget after selecting a group option
53
    # Confirm that all users are initially displayed in the 'user' search widget.
53
    # Confirm that all users are initially displayed in the 'user' search widget.
54
    Given I set the field "Search users" to "Student"
54
    Given I set the field "Search users" to "Student"
55
    And I confirm "Student 1" in "user" search within the gradebook widget exists
55
    And I confirm "Student 1" exists in the "Search users" search combo box
56
    And I confirm "Student 2" in "user" search within the gradebook widget exists
56
    And I confirm "Student 2" exists in the "Search users" search combo box
57
    # Select a particular group from the 'group' search widget.
57
    # Select a particular group from the 'group' search widget.
58
    When I click on "Default group" in the "group" search widget
58
    When I click on "Default group" in the "Search groups" search combo box
59
    # Confirm that only users which are members of the selected group are displayed in the 'user' search widget.
59
    # Confirm that only users which are members of the selected group are displayed in the 'user' search widget.
60
    And I set the field "Search users" to "Student"
60
    And I set the field "Search users" to "Student"
61
    Then I confirm "Student 1" in "user" search within the gradebook widget exists
61
    Then I confirm "Student 1" exists in the "Search users" search combo box
62
    And I confirm "Student 2" in "user" search within the gradebook widget does not exist
62
    And I confirm "Student 2" does not exist in the "Search users" search combo box
63
    And I click on "Tutor group" in the "group" search widget
63
    And I click on "Tutor group" in the "Search groups" search combo box
64
    And I set the field "Search users" to "Student"
64
    And I set the field "Search users" to "Student"
65
    And I confirm "Student 1" in "user" search within the gradebook widget does not exist
65
    And I confirm "Student 1" does not exist in the "Search users" search combo box
66
    And I confirm "Student 2" in "user" search within the gradebook widget does not exist
66
    And I confirm "Student 2" does not exist in the "Search users" search combo box
67
    And I click on "All participants" in the "group" search widget
67
    And I click on "All participants" in the "Search groups" search combo box
68
    And I set the field "Search users" to "Student"
68
    And I set the field "Search users" to "Student"
Línea 69... Línea 69...
69
    And I confirm "Student 1" in "user" search within the gradebook widget exists
69
    And I confirm "Student 1" exists in the "Search users" search combo box
70
    And I confirm "Student 2" in "user" search within the gradebook widget exists
70
    And I confirm "Student 2" exists in the "Search users" search combo box
71
 
71
 
72
  @accessibility
72
  @accessibility