Add new Outcome element (#329)
This commit is contained in:
parent
4679c79e37
commit
3e26a6b7c1
5 changed files with 288 additions and 0 deletions
|
@ -21,6 +21,14 @@ Feature: Being able to manage elements in a certificate template
|
|||
| assign | Assignment 1 | Assignment 1 intro | C1 | assign1 |
|
||||
| assign | Assignment 2 | Assignment 2 intro | C1 | assign2 |
|
||||
| customcert | Custom certificate 1 | Custom certificate 1 intro | C1 | customcert1 |
|
||||
And the following config values are set as admin:
|
||||
| enableoutcomes | 1 |
|
||||
And the following "scales" exist:
|
||||
| name | scale |
|
||||
| Test Scale | Disappointing, Good, Very good, Excellent |
|
||||
And the following "grade outcomes" exist:
|
||||
| fullname | shortname | course | scale |
|
||||
| Outcome 1 | OT1 | C1 | Test Scale |
|
||||
And I log in as "teacher1"
|
||||
And I am on "Course 1" course homepage
|
||||
And I follow "Custom certificate 1"
|
||||
|
@ -251,6 +259,26 @@ Feature: Being able to manage elements in a certificate template
|
|||
| Height | 15 |
|
||||
| Alpha channel | 0.7 |
|
||||
And I press "Save changes"
|
||||
# Outcome.
|
||||
And I add the element "Outcome" to page "1" of the "Custom certificate 1" certificate template
|
||||
And I set the following fields to these values:
|
||||
| Outcome | Outcome 1 |
|
||||
| Font | Helvetica |
|
||||
| Size | 20 |
|
||||
| Colour | #045ECD |
|
||||
| Width | 20 |
|
||||
| Reference point location | Top left |
|
||||
And I press "Save changes"
|
||||
And I should see "Date" in the "elementstable" "table"
|
||||
And I click on ".edit-icon" "css_element" in the "Outcome" "table_row"
|
||||
And the following fields match these values:
|
||||
| Outcome | Outcome 1 |
|
||||
| Font | Helvetica |
|
||||
| Size | 20 |
|
||||
| Colour | #045ECD |
|
||||
| Width | 20 |
|
||||
| Reference point location | Top left |
|
||||
And I press "Save changes"
|
||||
# Student name.
|
||||
And I add the element "Student name" to page "1" of the "Custom certificate 1" certificate template
|
||||
And I set the following fields to these values:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue