This commit is contained in:
Andrew Nicols 2016-12-07 09:42:20 +08:00
commit 3b8cf77689
8 changed files with 20 additions and 20 deletions

View File

@ -21,7 +21,7 @@ Feature: Rename roles within a course
| student1 | C1 | student |
And I log in as "teacher1"
And I follow "Course 1"
When I go to "Edit settings" in current page administration
When I navigate to "Edit settings" in current page administration
And I set the following fields to these values:
| Your word for 'Non-editing teacher' | Tutor |
| Your word for 'Student' | Learner |
@ -34,7 +34,7 @@ Feature: Rename roles within a course
And the "roleid" select box should contain "Learner"
And the "roleid" select box should not contain "Student"
And I follow "Course 1"
And I go to "Edit settings" in current page administration
And I navigate to "Edit settings" in current page administration
And I set the following fields to these values:
| Your word for 'Non-editing teacher' | |
| Your word for 'Student' | |

View File

@ -33,7 +33,7 @@ Feature: We can bulk insert grades for students in a course
Given I log in as "teacher1"
And I follow "Course 1"
And I follow "Test assignment one"
And I go to "View all submissions" in current page administration
And I navigate to "View all submissions" in current page administration
And I click on "Grade" "link" in the "Student 1" "table_row"
And I set the following fields to these values:
| Grade out of 100 | 50 |
@ -74,7 +74,7 @@ Feature: We can bulk insert grades for students in a course
Given I log in as "teacher1"
And I follow "Course 1"
And I follow "Test assignment two"
And I go to "View all submissions" in current page administration
And I navigate to "View all submissions" in current page administration
And I click on "Grade" "link" in the "Student 1" "table_row"
And I set the following fields to these values:
| Grade out of 100 | 50 |

View File

@ -44,12 +44,12 @@ Feature: View gradebook when scales are used
And I log in as "teacher1"
And I follow "Course 1"
And I follow "Test assignment one"
And I go to "Edit settings" in current page administration
And I navigate to "Edit settings" in current page administration
And I expand all fieldsets
And I set the field "grade[modgrade_type]" to "Scale"
And I set the field "grade[modgrade_scale]" to "Letterscale"
And I press "Save and display"
And I go to "View all submissions" in current page administration
And I navigate to "View all submissions" in current page administration
And I click on "Grade" "link" in the "Student 1" "table_row"
And I set the field "Grade" to "A"
And I press "Save changes"

View File

@ -38,12 +38,12 @@ Feature: View gradebook when single item scales are used
And I log in as "teacher1"
And I follow "Course 1"
And I follow "Test assignment one"
And I go to "Edit settings" in current page administration
And I navigate to "Edit settings" in current page administration
And I expand all fieldsets
And I set the field "grade[modgrade_type]" to "Scale"
And I set the field "grade[modgrade_scale]" to "Singleitem"
And I press "Save and display"
And I go to "View all submissions" in current page administration
And I navigate to "View all submissions" in current page administration
And I click on "Grade" "link" in the "Student 1" "table_row"
And I set the field "Grade" to "A"
And I press "Save changes"

View File

@ -25,7 +25,7 @@ Feature: Organize students into groups
| student3 | C1 | student |
And I log in as "teacher1"
And I follow "Course 1"
And I go to "Users > Groups" in current page administration
And I navigate to "Users > Groups" in current page administration
And I press "Create group"
And I set the following fields to these values:
| Group name | Group 1 |
@ -72,7 +72,7 @@ Feature: Organize students into groups
And I log out
And I log in as "teacher1"
And I follow "Course 1"
And I go to "Users > Groups" in current page administration
And I navigate to "Users > Groups" in current page administration
When I press "Create group"
Then the "idnumber" "field" should be readonly
And I set the following fields to these values:
@ -95,7 +95,7 @@ Feature: Organize students into groups
And I log in as "admin"
And I am on site homepage
And I follow "Course 1"
And I go to "Users > Groups" in current page administration
And I navigate to "Users > Groups" in current page administration
When I press "Create group"
And I set the following fields to these values:
| Group name | Group A |
@ -118,7 +118,7 @@ Feature: Organize students into groups
And the "groups" select box should contain "Group B (0)"
And I am on site homepage
And I follow "Course 2"
And I go to "Users > Groups" in current page administration
And I navigate to "Users > Groups" in current page administration
And I press "Create group"
And I set the following fields to these values:
| Group name | Group A |

View File

@ -44,7 +44,7 @@ Feature: Assignments correctly add feedback to the grade report when workflow an
And I log in as "teacher1"
And I follow "Course 1"
And I follow "Test assignment name"
And I go to "View all submissions" in current page administration
And I navigate to "View all submissions" in current page administration
And I should see "Not marked" in the "I'm the student's first submission" "table_row"
And I click on "Grade" "link" in the "I'm the student's first submission" "table_row"
And I set the field "Grade out of 100" to "50"
@ -54,7 +54,7 @@ Feature: Assignments correctly add feedback to the grade report when workflow an
And I press "Ok"
And I click on "Edit settings" "link"
And I follow "Test assignment name"
And I go to "View all submissions" in current page administration
And I navigate to "View all submissions" in current page administration
And I should see "In review" in the "I'm the student's first submission" "table_row"
@javascript
@ -65,7 +65,7 @@ Feature: Assignments correctly add feedback to the grade report when workflow an
And I press "Ok"
And I click on "Edit settings" "link"
And I follow "Test assignment name"
And I go to "View all submissions" in current page administration
And I navigate to "View all submissions" in current page administration
And I should see "Ready for release" in the "I'm the student's first submission" "table_row"
And I click on "Grade" "link" in the "I'm the student's first submission" "table_row"
And I set the field "Marking workflow state" to "Released"
@ -73,7 +73,7 @@ Feature: Assignments correctly add feedback to the grade report when workflow an
And I press "Ok"
And I click on "Edit settings" "link"
And I follow "Test assignment name"
And I go to "View all submissions" in current page administration
And I navigate to "View all submissions" in current page administration
And I should see "Released" in the "I'm the student's first submission" "table_row"
And I set the field "Grading action" to "Reveal student identities"
And I press "Continue"
@ -92,7 +92,7 @@ Feature: Assignments correctly add feedback to the grade report when workflow an
And I press "Ok"
And I click on "Edit settings" "link"
And I follow "Test assignment name"
And I go to "View all submissions" in current page administration
And I navigate to "View all submissions" in current page administration
And I should see "Ready for release" in the "I'm the student's first submission" "table_row"
And I set the field "Grading action" to "Reveal student identities"
And I press "Continue"
@ -102,7 +102,7 @@ Feature: Assignments correctly add feedback to the grade report when workflow an
And I press "Ok"
And I click on "Edit settings" "link"
And I follow "Test assignment name"
And I go to "View all submissions" in current page administration
And I navigate to "View all submissions" in current page administration
And I should see "Released" in the "Student 1" "table_row"
And I log out
And I log in as "student1"

View File

@ -68,7 +68,7 @@ Feature: In a report, admin can filter log data
And I follow "Course 1"
And I follow "Home"
And I follow "Course 1"
And I go to "Users > Enrolled users" in current page administration
And I navigate to "Users > Enrolled users" in current page administration
And I follow "Student 1"
And I click on "Log in as" "link"
And I press "Continue"

View File

@ -108,7 +108,7 @@ Feature: Access to full profiles of users
And I log in as "admin"
And I am on site homepage
And I follow "Course 1"
And I go to "Users > Groups" in current page administration
And I navigate to "Users > Groups" in current page administration
And I press "Create group"
And I set the following fields to these values:
| Group name | Group 1 |