mirror of
https://github.com/moodle/moodle.git
synced 2025-05-02 22:45:03 +02:00
MDL-46966 core_grades: adjust behat tests
Part of MDL-46797
This commit is contained in:
parent
276690035f
commit
79fbab4d04
@ -36,6 +36,10 @@ Feature: We can use calculated grade totals
|
||||
| assign | C1 | a8 | Test assignment eight | Submit something! | Sub category 2 | 200
|
||||
| assign | C1 | a9 | Test assignment nine | Submit something! | Sub category 2 | 100
|
||||
| assign | C1 | 10 | Test assignment ten | Submit nothing! | Sub category 2 | 150
|
||||
And I log in as "admin"
|
||||
And I set the following administration settings values:
|
||||
| grade_aggregations_visible | Mean of grades,Weighted mean of grades,Simple weighted mean of grades,Mean of grades (with extra credits),Median of grades,Lowest grade,Highest grade,Mode of grades,Natural |
|
||||
And I log out
|
||||
And I log in as "teacher1"
|
||||
And I follow "Course 1"
|
||||
And I follow "Grades"
|
||||
|
@ -24,6 +24,10 @@ Feature: We can understand the gradebook user report
|
||||
| assign | C1 | a4 | Test assignment four | Submit something! |
|
||||
| assign | C1 | a5 | Test assignment five | Submit something! |
|
||||
| assign | C1 | a6 | Test assignment six | Submit something! |
|
||||
And I log in as "admin"
|
||||
And I set the following administration settings values:
|
||||
| grade_aggregations_visible | Mean of grades,Weighted mean of grades,Simple weighted mean of grades,Mean of grades (with extra credits),Median of grades,Lowest grade,Highest grade,Mode of grades,Natural |
|
||||
And I log out
|
||||
And I log in as "teacher1"
|
||||
And I follow "Course 1"
|
||||
And I follow "Grades"
|
||||
|
@ -17,6 +17,10 @@ Feature: We can enter in grades and view reports from the gradebook
|
||||
| user | course | role |
|
||||
| teacher1 | C1 | editingteacher |
|
||||
| student1 | C1 | student |
|
||||
And I log in as "admin"
|
||||
And I set the following administration settings values:
|
||||
| grade_aggregations_visible | Mean of grades,Weighted mean of grades,Simple weighted mean of grades,Mean of grades (with extra credits),Median of grades,Lowest grade,Highest grade,Mode of grades,Natural |
|
||||
And I log out
|
||||
And I log in as "teacher1"
|
||||
And I follow "Course 1"
|
||||
And I turn editing mode on
|
||||
|
Loading…
x
Reference in New Issue
Block a user