Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 79... Línea 79...
79
    And I log out
79
    And I log out
80
    # Teacher should see student 1 and student 2 has submitted assignment.
80
    # Teacher should see student 1 and student 2 has submitted assignment.
81
    And I am on the "c1assign1" "assign activity" page logged in as teacher1
81
    And I am on the "c1assign1" "assign activity" page logged in as teacher1
82
    And I should see "1" in the "Groups" "table_row"
82
    And I should see "1" in the "Groups" "table_row"
83
    And I should not see "The setting 'Require group to make submission\' is enabled and some users are either not a member of any group, or are a member of more than one group, so are unable to make submissions."
83
    And I should not see "The setting 'Require group to make submission\' is enabled and some users are either not a member of any group, or are a member of more than one group, so are unable to make submissions."
84
    And I follow "View all submissions"
84
    And I navigate to "Submissions" in current page administration
85
    And I should see "Default group" in the "Student 1" "table_row"
85
    And I should see "Default group" in the "Student 1" "table_row"
86
    And I should see "Default group" in the "Student 2" "table_row"
86
    And I should see "Default group" in the "Student 2" "table_row"
87
    And I should see "Submitted for grading" in the "Student 1" "table_row"
87
    And I should see "Submitted for grading" in the "Student 1" "table_row"
88
    And I should see "Submitted for grading" in the "Student 2" "table_row"
88
    And I should see "Submitted for grading" in the "Student 2" "table_row"
89
    And I am on the "c1assign2" "assign activity" page
89
    And I am on the "c1assign2" "assign activity" page
90
    And I should see "0" in the "Groups" "table_row"
90
    And I should see "0" in the "Groups" "table_row"
91
    And I should see "The setting 'Require group to make submission' is enabled and some users are either not a member of any group, or are a member of more than one group, so are unable to make submissions."
91
    And I should see "The setting 'Require group to make submission' is enabled and some users are either not a member of any group, or are a member of more than one group, so are unable to make submissions."
92
    And I follow "View all submissions"
92
    And I navigate to "Submissions" in current page administration
93
    And I should see "Not a member of any group, so unable to make submissions." in the "Student 1" "table_row"
93
    And I should see "Not a member of any group, so unable to make submissions." in the "Student 1" "table_row"
94
    And I should see "Not a member of any group, so unable to make submissions." in the "Student 2" "table_row"
94
    And I should see "Not a member of any group, so unable to make submissions." in the "Student 2" "table_row"
95
    And I should not see "Submitted for grading" in the "Student 1" "table_row"
95
    And I should not see "Submitted for grading" in the "Student 1" "table_row"
96
    And I should not see "Submitted for grading" in the "Student 2" "table_row"
96
    And I should not see "Submitted for grading" in the "Student 2" "table_row"
97
    And I am on the "c2assign1" "assign activity" page
97
    And I am on the "c2assign1" "assign activity" page
98
    And I should see "1" in the "Groups" "table_row"
98
    And I should see "1" in the "Groups" "table_row"
99
    And I should not see "The setting 'Require group to make submission' is enabled and some users are either not a member of any group, or are a member of more than one group, so are unable to make submissions."
99
    And I should not see "The setting 'Require group to make submission' is enabled and some users are either not a member of any group, or are a member of more than one group, so are unable to make submissions."
100
    And I follow "View all submissions"
100
    And I navigate to "Submissions" in current page administration
101
    And I should see "Group 1" in the "Student 1" "table_row"
101
    And I should see "Group 1" in the "Student 1" "table_row"
102
    And I should see "Group 1" in the "Student 2" "table_row"
102
    And I should see "Group 1" in the "Student 2" "table_row"
103
    And I should see "Submitted for grading" in the "Student 1" "table_row"
103
    And I should see "Submitted for grading" in the "Student 1" "table_row"
104
    And I should see "Submitted for grading" in the "Student 2" "table_row"
104
    And I should see "Submitted for grading" in the "Student 2" "table_row"
105
    And I log out
105
    And I log out
Línea 110... Línea 110...
110
    And I should see "Nothing has been submitted for this assignment"
110
    And I should see "Nothing has been submitted for this assignment"
111
    And I should not see "Add submission"
111
    And I should not see "Add submission"
112
    And I log out
112
    And I log out
113
    And I am on the "c3assign1" "assign activity" page logged in as teacher1
113
    And I am on the "c3assign1" "assign activity" page logged in as teacher1
114
    And I should see "The setting 'Require group to make submission' is enabled and some users are either not a member of any group, or are a member of more than one group, so are unable to make submissions."
114
    And I should see "The setting 'Require group to make submission' is enabled and some users are either not a member of any group, or are a member of more than one group, so are unable to make submissions."
115
    And I follow "View all submissions"
115
    And I navigate to "Submissions" in current page administration
116
    And I should see "Member of more than one group, so unable to make submissions." in the "Student 3" "table_row"
116
    And I should see "Member of more than one group, so unable to make submissions." in the "Student 3" "table_row"
Línea 117... Línea 117...
117
 
117
 
118
  Scenario: All users are in groups, so no warning messages needed.
118
  Scenario: All users are in groups, so no warning messages needed.
119
    Given the following "courses" exist:
119
    Given the following "courses" exist: