Línea 62... |
Línea 62... |
62 |
| student21 | C1 | student |
|
62 |
| student21 | C1 | student |
|
63 |
| student22 | C1 | student |
|
63 |
| student22 | C1 | student |
|
64 |
| student23 | C1 | student |
|
64 |
| student23 | C1 | student |
|
65 |
| student24 | C1 | student |
|
65 |
| student24 | C1 | student |
|
Línea -... |
Línea 66... |
- |
|
66 |
|
66 |
|
67 |
@javascript
|
67 |
Scenario: Filter users on assignment submission page
|
68 |
Scenario: Filter users on assignment submission page
|
68 |
Given the following "activities" exist:
|
69 |
Given the following "activities" exist:
|
69 |
| activity | course | idnumber | name | intro | assignsubmission_onlinetext_enabled | assignsubmission_file_enabled |
|
70 |
| activity | course | idnumber | name | intro | assignsubmission_onlinetext_enabled | assignsubmission_file_enabled |
|
70 |
| assign | C1 | assign1 | TestAssignment | Test assignment description | 0 | 0 |
|
71 |
| assign | C1 | assign1 | TestAssignment | Test assignment description | 0 | 0 |
|
- |
|
72 |
And I am on the "assign1" "Activity" page logged in as "teacher"
|
71 |
And I am on the "assign1" "Activity" page logged in as "teacher"
|
73 |
When I navigate to "Submissions" in current page administration
|
72 |
When I follow "View all submissions"
|
74 |
And I click on "Filter by name" "combobox"
|
73 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
75 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
74 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
76 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
75 |
And ".page-item.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
77 |
And ".page-item.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
76 |
And ".page-item.active.A" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
78 |
And ".page-item.active.A" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
77 |
And I should see "Astudent Astudent"
|
79 |
And I should see "Astudent Astudent"
|
78 |
And I should see "Bstudent Astudent"
|
80 |
And I should see "Bstudent Astudent"
|
79 |
And I should see "Cstudent Cstudent"
|
81 |
And I should see "Cstudent Cstudent"
|
80 |
And I click on "A" "link" in the ".initialbar.lastinitial .page-item.A" "css_element"
|
82 |
And I select "A" in the "Last name" "core_course > initials bar"
|
81 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
83 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
82 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
84 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
83 |
And ".page-item.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
85 |
And ".page-item.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
- |
|
86 |
And ".page-item.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
84 |
And ".page-item.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
87 |
And I press "Apply"
|
85 |
And I should see "Astudent Astudent"
|
88 |
And I should see "Astudent Astudent"
|
86 |
And I should see "Bstudent Astudent"
|
89 |
And I should see "Bstudent Astudent"
|
- |
|
90 |
And I should not see "Cstudent Cstudent"
|
87 |
And I should not see "Cstudent Cstudent"
|
91 |
And I click on "Last (A)" "combobox"
|
- |
|
92 |
And I select "B" in the "First name" "core_course > initials bar"
|
- |
|
93 |
And I press "Apply"
|
88 |
And I click on "B" "link" in the ".initialbar.firstinitial .page-item.B" "css_element"
|
94 |
And I wait until the page is ready
|
89 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
95 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
90 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
96 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
91 |
And ".page-item.active.B" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
97 |
And ".page-item.active.B" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
92 |
And ".page-item.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
98 |
And ".page-item.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
93 |
And I should not see "Astudent Astudent"
|
99 |
And I should not see "Astudent Astudent"
|
94 |
And I should see "Bstudent Astudent"
|
100 |
And I should see "Bstudent Astudent"
|
95 |
And I should not see "Cstudent Cstudent"
|
101 |
And I should not see "Cstudent Cstudent"
|
96 |
And I am on the "assign1" "Activity" page
|
102 |
And I am on the "assign1" "Activity" page
|
97 |
When I follow "View all submissions"
|
103 |
When I navigate to "Submissions" in current page administration
|
98 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
104 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
99 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
105 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
100 |
And ".page-item.active.B" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
106 |
And ".page-item.active.B" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
101 |
And ".page-item.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
107 |
And ".page-item.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
102 |
And I should not see "Astudent Astudent"
|
108 |
And I should not see "Astudent Astudent"
|
103 |
And I should see "Bstudent Astudent"
|
109 |
And I should see "Bstudent Astudent"
|
- |
|
110 |
And I should not see "Cstudent Cstudent"
|
104 |
And I should not see "Cstudent Cstudent"
|
111 |
And I click on "First (B) Last (A)" "combobox"
|
105 |
And I click on "All" "link" in the ".initialbar.firstinitial" "css_element"
|
112 |
And I select "All" in the "First name" "core_course > initials bar"
|
106 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
113 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
107 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
114 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
108 |
And ".page-item.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
115 |
And ".page-item.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
- |
|
116 |
And ".page-item.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
- |
|
117 |
And I press "Apply"
|
109 |
And ".page-item.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
118 |
And I wait until the page is ready
|
110 |
And I should see "Astudent Astudent"
|
119 |
And I should see "Astudent Astudent"
|
111 |
And I should see "Bstudent Astudent"
|
120 |
And I should see "Bstudent Astudent"
|
- |
|
121 |
And I should not see "Cstudent Cstudent"
|
112 |
And I should not see "Cstudent Cstudent"
|
122 |
And I click on "Last (A)" "combobox"
|
113 |
And I click on "All" "link" in the ".initialbar.lastinitial" "css_element"
|
123 |
And I select "All" in the "Last name" "core_course > initials bar"
|
114 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
124 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
115 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
125 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
116 |
And ".page-item.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
126 |
And ".page-item.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
- |
|
127 |
And ".page-item.active.A" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
- |
|
128 |
And I press "Apply"
|
117 |
And ".page-item.active.A" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
129 |
And I wait until the page is ready
|
118 |
And I should see "Astudent Astudent"
|
130 |
And I should see "Astudent Astudent"
|
119 |
And I should see "Bstudent Astudent"
|
131 |
And I should see "Bstudent Astudent"
|
Línea 120... |
Línea 132... |
120 |
And I should see "Cstudent Cstudent"
|
132 |
And I should see "Cstudent Cstudent"
|
121 |
|
133 |
|
122 |
@javascript
|
134 |
@javascript
|
123 |
Scenario: Filter users on view gradebook page
|
135 |
Scenario: Filter users on view gradebook page
|
124 |
Given the following "activities" exist:
|
136 |
Given the following "activities" exist:
|
125 |
| activity | course | idnumber | name | intro | assignsubmission_onlinetext_enabled | assignsubmission_file_enabled |
|
137 |
| activity | course | idnumber | name | intro | assignsubmission_onlinetext_enabled | assignsubmission_file_enabled |
|
126 |
| assign | C1 | assign1 | TestAssignment | Test assignment description | 0 | 0 |
|
138 |
| assign | C1 | assign1 | TestAssignment | Test assignment description | 0 | 0 |
|
127 |
And I am on the "assign1" "Activity" page logged in as "teacher"
|
139 |
And I am on the "assign1" "Activity" page logged in as "teacher"
|
128 |
When I follow "View all submissions"
|
140 |
When I navigate to "Submissions" in current page administration
|
129 |
And I select "View gradebook" from the "jump" singleselect
|
141 |
And I choose the "View gradebook" item in the "Actions" action menu
|
130 |
And I click on "Filter by name" "combobox"
|
142 |
And I click on "Filter by name" "combobox"
|
131 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
143 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
132 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
144 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
133 |
And ".page-item.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
145 |
And ".page-item.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
134 |
And ".page-item.active.A" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
146 |
And ".page-item.active.A" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
135 |
And I should see "Astudent Astudent"
|
147 |
And I should see "Astudent Astudent"
|
136 |
And I should see "Bstudent Astudent"
|
148 |
And I should see "Bstudent Astudent"
|
137 |
And I should see "Cstudent Cstudent"
|
149 |
And I should see "Cstudent Cstudent"
|
138 |
And I select "A" in the "Last name" "core_grades > initials bar"
|
150 |
And I select "A" in the "Last name" "core_course > initials bar"
|
139 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
151 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
140 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
152 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
141 |
And ".page-item.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
153 |
And ".page-item.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
142 |
And ".page-item.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
154 |
And ".page-item.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
143 |
And I press "Apply"
|
155 |
And I press "Apply"
|
144 |
And I should see "Astudent Astudent"
|
156 |
And I should see "Astudent Astudent"
|
145 |
And I should see "Bstudent Astudent"
|
157 |
And I should see "Bstudent Astudent"
|
146 |
And I should not see "Cstudent Cstudent"
|
158 |
And I should not see "Cstudent Cstudent"
|
147 |
And I click on "Last (A)" "combobox"
|
159 |
And I click on "Last (A)" "combobox"
|
148 |
And I select "B" in the "First name" "core_grades > initials bar"
|
160 |
And I select "B" in the "First name" "core_course > initials bar"
|
149 |
And I press "Apply"
|
161 |
And I press "Apply"
|
150 |
And I wait until the page is ready
|
162 |
And I wait until the page is ready
|
151 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
163 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
152 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
164 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
153 |
And ".page-item.active.B" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
165 |
And ".page-item.active.B" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
154 |
And ".page-item.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
166 |
And ".page-item.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
155 |
And I should not see "Astudent Astudent"
|
167 |
And I should not see "Astudent Astudent"
|
156 |
And I should see "Bstudent Astudent"
|
168 |
And I should see "Bstudent Astudent"
|
157 |
And I should not see "Cstudent Cstudent"
|
169 |
And I should not see "Cstudent Cstudent"
|
158 |
And I am on the "assign1" "Activity" page
|
170 |
And I am on the "assign1" "Activity" page
|
159 |
When I follow "View all submissions"
|
171 |
When I navigate to "Submissions" in current page administration
|
160 |
And I select "View gradebook" from the "jump" singleselect
|
172 |
And I choose the "View gradebook" item in the "Actions" action menu
|
161 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
173 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
162 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
174 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
163 |
And ".page-item.active.B" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
175 |
And ".page-item.active.B" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
164 |
And ".page-item.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
176 |
And ".page-item.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
165 |
And I should not see "Astudent Astudent"
|
177 |
And I should not see "Astudent Astudent"
|
166 |
And I should see "Bstudent Astudent"
|
178 |
And I should see "Bstudent Astudent"
|
167 |
And I should not see "Cstudent Cstudent"
|
179 |
And I should not see "Cstudent Cstudent"
|
168 |
And I click on "First (B) Last (A)" "combobox"
|
180 |
And I click on "First (B) Last (A)" "combobox"
|
169 |
And I select "All" in the "First name" "core_grades > initials bar"
|
181 |
And I select "All" in the "First name" "core_course > initials bar"
|
170 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
182 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
171 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
183 |
And ".initialbarall.page-item.active" "css_element" should not exist in the ".initialbar.lastinitial" "css_element"
|
172 |
And ".page-item.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
184 |
And ".page-item.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
173 |
And ".page-item.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
185 |
And ".page-item.active.A" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
174 |
And I press "Apply"
|
186 |
And I press "Apply"
|
175 |
And I wait until the page is ready
|
187 |
And I wait until the page is ready
|
176 |
And I should see "Astudent Astudent"
|
188 |
And I should see "Astudent Astudent"
|
177 |
And I should see "Bstudent Astudent"
|
189 |
And I should see "Bstudent Astudent"
|
178 |
And I should not see "Cstudent Cstudent"
|
190 |
And I should not see "Cstudent Cstudent"
|
179 |
And I click on "Last (A)" "combobox"
|
191 |
And I click on "Last (A)" "combobox"
|
180 |
And I select "All" in the "Last name" "core_grades > initials bar"
|
192 |
And I select "All" in the "Last name" "core_course > initials bar"
|
181 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
193 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.firstinitial" "css_element"
|
182 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
194 |
And ".initialbarall.page-item.active" "css_element" should exist in the ".initialbar.lastinitial" "css_element"
|
183 |
And ".page-item.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|
195 |
And ".page-item.active.B" "css_element" should not exist in the ".initialbar.firstinitial" "css_element"
|