Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 29... Línea 29...
29
    And I select "Criteria" from the "jump" singleselect
29
    And I select "Criteria" from the "jump" singleselect
30
    And I set the field "type" to "Cohort membership"
30
    And I set the field "type" to "Cohort membership"
31
    And I set the field "id_cohort_cohorts" to "One Cohort"
31
    And I set the field "id_cohort_cohorts" to "One Cohort"
32
    And I press "Save"
32
    And I press "Save"
33
    And I press "Enable access"
33
    And I press "Enable access"
34
    When I press "Continue"
34
    And I click on "Enable" "button" in the "Confirm" "dialogue"
35
    Then I should see "Recipients (1)"
35
    Then I should see "Recipients (1)"
36
    And I log out
36
    And I log out
37
    And I log in as "user1"
37
    And I log in as "user1"
38
    And I follow "Profile" in the user menu
38
    And I follow "Profile" in the user menu
39
    And I should see "Site Badge"
39
    And I should see "Site Badge"
Línea 68... Línea 68...
68
    And I expand all fieldsets
68
    And I expand all fieldsets
69
    And I set the field "id_cohort_cohorts" to "One Cohort,Two Cohort"
69
    And I set the field "id_cohort_cohorts" to "One Cohort,Two Cohort"
70
    And I set the field "id_agg_1" to "1"
70
    And I set the field "id_agg_1" to "1"
71
    And I press "Save"
71
    And I press "Save"
72
    When I press "Enable access"
72
    When I press "Enable access"
73
    And I press "Continue"
73
    And I click on "Enable" "button" in the "Confirm" "dialogue"
74
    Then I should see "Recipients (1)"
74
    Then I should see "Recipients (1)"
75
    And I log out
75
    And I log out
76
    And I log in as "user1"
76
    And I log in as "user1"
77
    And I follow "Profile" in the user menu
77
    And I follow "Profile" in the user menu
78
    And I should see "Site Badge"
78
    And I should see "Site Badge"
Línea 108... Línea 108...
108
    And I select "Criteria" from the "jump" singleselect
108
    And I select "Criteria" from the "jump" singleselect
109
    And I set the field "type" to "Cohort membership"
109
    And I set the field "type" to "Cohort membership"
110
    And I set the field "id_cohort_cohorts" to "One Cohort"
110
    And I set the field "id_cohort_cohorts" to "One Cohort"
111
    And I press "Save"
111
    And I press "Save"
112
    When I press "Enable access"
112
    When I press "Enable access"
113
    And I press "Continue"
113
    And I click on "Enable" "button" in the "Confirm" "dialogue"
114
    Then I should see "Recipients (2)"
114
    Then I should see "Recipients (2)"
115
    And I log out
115
    And I log out
116
    And I log in as "user1"
116
    And I log in as "user1"
117
    And I follow "Profile" in the user menu
117
    And I follow "Profile" in the user menu
118
    And I should see "Site Badge"
118
    And I should see "Site Badge"
Línea 151... Línea 151...
151
    And I expand all fieldsets
151
    And I expand all fieldsets
152
    And I set the field "Manager" to "1"
152
    And I set the field "Manager" to "1"
153
    And I set the field "Any of the selected roles awards the badge" to "1"
153
    And I set the field "Any of the selected roles awards the badge" to "1"
154
    And I press "Save"
154
    And I press "Save"
155
    When I press "Enable access"
155
    When I press "Enable access"
156
    And I press "Continue"
156
    And I click on "Enable" "button" in the "Confirm" "dialogue"
157
    And I select "Recipients (0)" from the "jump" singleselect
157
    And I select "Recipients (0)" from the "jump" singleselect
158
    And I press "Award badge"
158
    And I press "Award badge"
159
    And I set the field "potentialrecipients[]" to "First User (first@example.com)"
159
    And I set the field "potentialrecipients[]" to "First User (first@example.com)"
160
    And I press "Award badge"
160
    And I press "Award badge"
161
    And I set the field "potentialrecipients[]" to "Second User (second@example.com)"
161
    And I set the field "potentialrecipients[]" to "Second User (second@example.com)"
Línea 205... Línea 205...
205
    And I set the field "Manager" to "1"
205
    And I set the field "Manager" to "1"
206
    And I set the field "Any of the selected roles awards the badge" to "1"
206
    And I set the field "Any of the selected roles awards the badge" to "1"
207
    And I press "Save"
207
    And I press "Save"
208
    And I set the field "update" to "Any"
208
    And I set the field "update" to "Any"
209
    When I press "Enable access"
209
    When I press "Enable access"
210
    And I press "Continue"
210
    And I click on "Enable" "button" in the "Confirm" "dialogue"
211
    And I select "Recipients (1)" from the "jump" singleselect
211
    And I select "Recipients (1)" from the "jump" singleselect
212
    And I press "Award badge"
212
    And I press "Award badge"
213
    And I set the field "potentialrecipients[]" to "First User (first@example.com)"
213
    And I set the field "potentialrecipients[]" to "First User (first@example.com)"
214
    And I press "Award badge"
214
    And I press "Award badge"
215
    And I set the field "potentialrecipients[]" to "Second User (second@example.com)"
215
    And I set the field "potentialrecipients[]" to "Second User (second@example.com)"
Línea 264... Línea 264...
264
    And I set the field "Manager" to "1"
264
    And I set the field "Manager" to "1"
265
    And I set the field "Any of the selected roles awards the badge" to "1"
265
    And I set the field "Any of the selected roles awards the badge" to "1"
266
    And I press "Save"
266
    And I press "Save"
267
    And I set the field "update" to "Any"
267
    And I set the field "update" to "Any"
268
    When I press "Enable access"
268
    When I press "Enable access"
269
    And I press "Continue"
269
    And I click on "Enable" "button" in the "Confirm" "dialogue"
270
    And I select "Recipients (1)" from the "jump" singleselect
270
    And I select "Recipients (1)" from the "jump" singleselect
271
    And I press "Award badge"
271
    And I press "Award badge"
272
    And I set the field "potentialrecipients[]" to "First User (first@example.com)"
272
    And I set the field "potentialrecipients[]" to "First User (first@example.com)"
273
    And I press "Award badge"
273
    And I press "Award badge"
274
    And I set the field "potentialrecipients[]" to "Second User (second@example.com)"
274
    And I set the field "potentialrecipients[]" to "Second User (second@example.com)"
Línea 325... Línea 325...
325
    And I set the field "Manager" to "1"
325
    And I set the field "Manager" to "1"
326
    And I set the field "Any of the selected roles awards the badge" to "1"
326
    And I set the field "Any of the selected roles awards the badge" to "1"
327
    And I press "Save"
327
    And I press "Save"
328
    And I set the field "update" to "All"
328
    And I set the field "update" to "All"
329
    When I press "Enable access"
329
    When I press "Enable access"
330
    And I press "Continue"
330
    And I click on "Enable" "button" in the "Confirm" "dialogue"
331
    And I select "Recipients (0)" from the "jump" singleselect
331
    And I select "Recipients (0)" from the "jump" singleselect
332
    And I press "Award badge"
332
    And I press "Award badge"
333
    And I set the field "potentialrecipients[]" to "First User (first@example.com)"
333
    And I set the field "potentialrecipients[]" to "First User (first@example.com)"
334
    And I press "Award badge"
334
    And I press "Award badge"
335
    And I set the field "potentialrecipients[]" to "Second User (second@example.com)"
335
    And I set the field "potentialrecipients[]" to "Second User (second@example.com)"
Línea 376... Línea 376...
376
    And I select "Criteria" from the "jump" singleselect
376
    And I select "Criteria" from the "jump" singleselect
377
    And I set the field "type" to "Cohort membership"
377
    And I set the field "type" to "Cohort membership"
378
    And I set the field "id_cohort_cohorts" to "One Cohort"
378
    And I set the field "id_cohort_cohorts" to "One Cohort"
379
    And I press "Save"
379
    And I press "Save"
380
    And I press "Enable access"
380
    And I press "Enable access"
381
    When I press "Continue"
381
    And I click on "Enable" "button" in the "Confirm" "dialogue"
382
    And I should see "Recipients (1)"
382
    And I should see "Recipients (1)"
383
    And I navigate to "Badges > Manage badges" in site administration
383
    And I navigate to "Badges > Manage badges" in site administration
384
    And I press "Edit" action in the "Site Badge 2" report row
384
    And I press "Edit" action in the "Site Badge 2" report row
385
    And I select "Criteria" from the "jump" singleselect
385
    And I select "Criteria" from the "jump" singleselect
386
    And I set the field "type" to "Cohort membership"
386
    And I set the field "type" to "Cohort membership"
387
    And I set the field "id_cohort_cohorts" to "Two Cohort"
387
    And I set the field "id_cohort_cohorts" to "Two Cohort"
388
    And I press "Save"
388
    And I press "Save"
389
    And I press "Enable access"
389
    And I press "Enable access"
390
    And I press "Continue"
390
    And I click on "Enable" "button" in the "Confirm" "dialogue"
391
    Then I should see "Recipients (2)"
391
    Then I should see "Recipients (2)"
392
    And I log out
392
    And I log out
393
    And I log in as "user1"
393
    And I log in as "user1"
394
    And I follow "Profile" in the user menu
394
    And I follow "Profile" in the user menu
395
    And I should see "Site Badge 1"
395
    And I should see "Site Badge 1"
Línea 434... Línea 434...
434
    And I set the field "type" to "Cohort membership"
434
    And I set the field "type" to "Cohort membership"
435
    And I expand all fieldsets
435
    And I expand all fieldsets
436
    And I set the field "id_cohort_cohorts" to "One Cohort,Two Cohort"
436
    And I set the field "id_cohort_cohorts" to "One Cohort,Two Cohort"
437
    And I set the field "id_agg_1" to "1"
437
    And I set the field "id_agg_1" to "1"
438
    And I press "Save"
438
    And I press "Save"
439
    And I press "Enable access"
439
    When I press "Enable access"
440
    When I press "Continue"
440
    And I click on "Enable" "button" in the "Confirm" "dialogue"
441
    And I should see "Recipients (1)"
441
    And I should see "Recipients (1)"
442
    And I navigate to "Badges > Manage badges" in site administration
442
    And I navigate to "Badges > Manage badges" in site administration
443
    And I press "Edit" action in the "Site Badge 2" report row
443
    And I press "Edit" action in the "Site Badge 2" report row
444
    And I select "Criteria" from the "jump" singleselect
444
    And I select "Criteria" from the "jump" singleselect
445
    And I set the field "type" to "Cohort membership"
445
    And I set the field "type" to "Cohort membership"
446
    And I expand all fieldsets
446
    And I expand all fieldsets
447
    And I set the field "id_cohort_cohorts" to "Three Cohort,Two Cohort"
447
    And I set the field "id_cohort_cohorts" to "Three Cohort,Two Cohort"
448
    And I set the field "id_agg_1" to "1"
448
    And I set the field "id_agg_1" to "1"
449
    And I press "Save"
449
    And I press "Save"
450
    And I press "Enable access"
450
    And I press "Enable access"
451
    And I press "Continue"
451
    And I click on "Enable" "button" in the "Confirm" "dialogue"
452
    And I should see "Recipients (1)"
452
    And I should see "Recipients (1)"
453
    And I log out
453
    And I log out
454
    And I log in as "user1"
454
    And I log in as "user1"
455
    And I follow "Profile" in the user menu
455
    And I follow "Profile" in the user menu
456
    And I should see "Site Badge 1"
456
    And I should see "Site Badge 1"