mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-47064 Grades: Add contribution to course total to behat test.
Part of: MDL-46576
This commit is contained in:
parent
446467f0d3
commit
85bb809494
1 changed files with 19 additions and 19 deletions
|
@ -246,7 +246,7 @@ Feature: We can use calculated grade totals
|
||||||
And I set the field "Grade report" to "Overview report"
|
And I set the field "Grade report" to "Overview report"
|
||||||
And I should see "50.00 (50.00 %)" in the "overview-grade" "table"
|
And I should see "50.00 (50.00 %)" in the "overview-grade" "table"
|
||||||
|
|
||||||
@javascript @wip
|
@javascript
|
||||||
Scenario: Natural aggregation
|
Scenario: Natural aggregation
|
||||||
And I set the following settings for grade item "Sub category 1":
|
And I set the following settings for grade item "Sub category 1":
|
||||||
| Aggregation | Natural |
|
| Aggregation | Natural |
|
||||||
|
@ -273,16 +273,16 @@ Feature: We can use calculated grade totals
|
||||||
And I set the field "Grade report" to "User report"
|
And I set the field "Grade report" to "User report"
|
||||||
And the following should exist in the "user-grade" table:
|
And the following should exist in the "user-grade" table:
|
||||||
| Grade item | Calculated weight | Grade | Range |
|
| Grade item | Calculated weight | Grade | Range |
|
||||||
| Test assignment five | 28.57 % | 10.00 (50.00 %) | 0–20 |
|
| Test assignment five | 28.57 % | 10.00 (50.00 %) | 0–20 | 6.43 |
|
||||||
| Test assignment six | 50.00 % | 5.00 (50.00 %) | 0–10 |
|
| Test assignment six | 50.00 % | 5.00 (50.00 %) | 0–10 | 11.25 |
|
||||||
| Test assignment seven | 21.43 % | - | 0–15 |
|
| Test assignment seven | 21.43 % | - | 0–15 | 0.00 |
|
||||||
| Test assignment eight | 66.67 % | 10.00 (50.00 %) | 0–20 |
|
| Test assignment eight | 66.67 % | 10.00 (50.00 %) | 0–20 | 10.00 |
|
||||||
| Test assignment nine | 33.33 % | 5.00 (50.00 %) | 0–10 |
|
| Test assignment nine | 33.33 % | 5.00 (50.00 %) | 0–10 | 5.00 |
|
||||||
| Test assignment ten | -( Empty ) | - | 0–15 |
|
| Test assignment ten | -( Empty ) | - | 0–15 | 0.00 |
|
||||||
| Test assignment one | 48.00 % | 60.00 (20.00 %) | 0–300 |
|
| Test assignment one | 48.00 % | 60.00 (20.00 %) | 0–300 | 60.00 |
|
||||||
| Test assignment two | 16.00 % | 20.00 (20.00 %) | 0–100 |
|
| Test assignment two | 16.00 % | 20.00 (20.00 %) | 0–100 | 20.00 |
|
||||||
| Test assignment three | 24.00 %( Extra credit ) | 40.00 (26.67 %) | 0–150 |
|
| Test assignment three | 24.00 %( Extra credit ) | 40.00 (26.67 %) | 0–150 | 40.00 |
|
||||||
| Test assignment four | 24.00 % | - | 0–150 |
|
| Test assignment four | 24.00 % | - | 0–150 | 0.00 |
|
||||||
And I log out
|
And I log out
|
||||||
And I log in as "student1"
|
And I log in as "student1"
|
||||||
And I follow "Course 1"
|
And I follow "Course 1"
|
||||||
|
@ -291,14 +291,14 @@ Feature: We can use calculated grade totals
|
||||||
And I should see "113.75 (23.45 %)" in the "overview-grade" "table"
|
And I should see "113.75 (23.45 %)" in the "overview-grade" "table"
|
||||||
And I set the field "Grade report" to "User report"
|
And I set the field "Grade report" to "User report"
|
||||||
And the following should exist in the "user-grade" table:
|
And the following should exist in the "user-grade" table:
|
||||||
| Grade item | Calculated weight | Grade | Range |
|
| Grade item | Calculated weight | Grade | Range | Contribution to course total |
|
||||||
| Test assignment six | 70.00 % | 5.00 (50.00 %) | 0–10 |
|
| Test assignment six | 70.00 % | 5.00 (50.00 %) | 0–10 | 8.75 |
|
||||||
| Test assignment seven | 30.00 % | - | 0–15 |
|
| Test assignment seven | 30.00 % | - | 0–15 | 0.00 |
|
||||||
| Test assignment nine | 100.00 % | 5.00 (50.00 %) | 0–10 |
|
| Test assignment nine | 100.00 % | 5.00 (50.00 %) | 0–10 | 5.00 |
|
||||||
| Test assignment ten | -( Empty ) | - | 0–15 |
|
| Test assignment ten | -( Empty ) | - | 0–15 | 0.00 |
|
||||||
| Test assignment one | 61.86 % | 60.00 (20.00 %) | 0–300 |
|
| Test assignment one | 61.86 % | 60.00 (20.00 %) | 0–300 | 60.0 |
|
||||||
| Test assignment three | 30.93 %( Extra credit ) | 40.00 (26.67 %) | 0–150 |
|
| Test assignment three | 30.93 %( Extra credit ) | 40.00 (26.67 %) | 0–150 | 40.0 |
|
||||||
| Test assignment four | 30.93 % | - | 0–150 |
|
| Test assignment four | 30.93 % | - | 0–150 | 0.00 |
|
||||||
|
|
||||||
@javascript
|
@javascript
|
||||||
Scenario: Natural aggregation with drop lowest
|
Scenario: Natural aggregation with drop lowest
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue