mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
MDL-80751 behat: Combined Grade action into one step
This commit is contained in:
parent
a18376806d
commit
990d54fc98
@ -85,13 +85,10 @@ Feature: availability_grade
|
||||
|
||||
# Log back in as teacher.
|
||||
When I am on the "A1" "assign activity" page logged in as teacher1
|
||||
And I change window size to "large"
|
||||
|
||||
# Give the assignment 40%.
|
||||
And I navigate to "Submissions" in current page administration
|
||||
# Pick the grade link in the row that has s@example.com in it.
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "s@example.com" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "s@example.com" "A1" activity advanced grading page
|
||||
And I change window size to "medium"
|
||||
And I set the field "Grade out of 100" to "40"
|
||||
And I click on "Save changes" "button"
|
||||
|
@ -52,9 +52,7 @@ Feature: Allow to mark course as completed without cron for activity completion
|
||||
@javascript
|
||||
Scenario: Update course completion when teacher grades a single assignment
|
||||
Given I am on the "Test assignment name" "assign activity" page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "student1@example.com" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "student1@example.com" "Test assignment name" activity advanced grading page
|
||||
And I set the field "Grade out of 100" to "40"
|
||||
And I click on "Save changes" "button"
|
||||
And I am on "Completion course" course homepage
|
||||
@ -80,17 +78,13 @@ Feature: Allow to mark course as completed without cron for activity completion
|
||||
And I set the field "Assignment - Test assignment name2" to "1"
|
||||
And I press "Save changes"
|
||||
And I am on the "Test assignment name" "assign activity" page
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "student1@example.com" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "student1@example.com" "Test assignment name" activity advanced grading page
|
||||
And I set the field "Grade out of 100" to "40"
|
||||
And I click on "Save changes" "button"
|
||||
And I am on the "Completion course" course page logged in as student1
|
||||
And I should see "Status: In progress"
|
||||
And I am on the "Test assignment name2" "assign activity" page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "student1@example.com" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "student1@example.com" "Test assignment name2" activity advanced grading page
|
||||
And I set the field "Grade out of 100" to "40"
|
||||
And I click on "Save changes" "button"
|
||||
When I am on the "Completion course" course page logged in as student1
|
||||
|
@ -44,10 +44,8 @@ Feature: Restrict activity availability through grade conditions
|
||||
And I should see "Submitted for grading"
|
||||
|
||||
And I am on the "Grade assignment" "assign activity" page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Student First" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student First" "Grade assignment" activity advanced grading page
|
||||
And I change window size to "medium"
|
||||
And I set the following fields to these values:
|
||||
| Grade | 21 |
|
||||
|
@ -67,10 +67,8 @@ Feature: Restrict sections availability through completion or grade conditions
|
||||
And I should see "Submitted for grading"
|
||||
And I log out
|
||||
And I am on the "Grade assignment" "assign activity" page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Student First" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student First" "Grade assignment" activity advanced grading page
|
||||
And I change window size to "medium"
|
||||
And I set the following fields to these values:
|
||||
| Grade | 21 |
|
||||
|
@ -54,9 +54,7 @@ Feature: We can bulk insert grades for students in a course
|
||||
|
||||
Scenario: I can bulk insert grades and check their override flags for grade view.
|
||||
Given I am on the "Test assignment one" "assign activity" page
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment one" activity advanced grading page
|
||||
And I set the following fields to these values:
|
||||
| Grade out of 100 | 50 |
|
||||
And I press "Save changes"
|
||||
@ -98,9 +96,7 @@ Feature: We can bulk insert grades for students in a course
|
||||
|
||||
Scenario: I can bulk insert grades and check their override flags for user view.
|
||||
Given I am on the "Test assignment two" "assign activity" page
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment two" activity advanced grading page
|
||||
And I set the following fields to these values:
|
||||
| Grade out of 100 | 50 |
|
||||
And I press "Save changes"
|
||||
|
@ -33,9 +33,7 @@ Feature: Display feedback on the Grader report
|
||||
| gradeitem | user | grade | feedback |
|
||||
| Grade item 1 | student1 | | Longer feedback text content |
|
||||
And I am on the "Test assignment name 1" "assign activity" page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name 1" activity advanced grading page
|
||||
And I set the following fields to these values:
|
||||
| Grade out of 100 | 50 |
|
||||
| Feedback comments | This is feedback |
|
||||
|
@ -20,10 +20,8 @@ Feature: Teacher can unhide grades on the edit page allowing students to view th
|
||||
| activity | course | idnumber | name | intro | assignfeedback_comments_enabled |
|
||||
| assign | C1 | assign1 | Test assignment name | Test assignment description | 1 |
|
||||
And I am on the "Test assignment name" "assign activity" page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I set the following fields to these values:
|
||||
| Grade out of 100 | 50 |
|
||||
| Feedback comments | I'm the teacher feedback |
|
||||
|
@ -24,9 +24,7 @@ Feature: Regrading grades does not unnecessarily mark some as overriden
|
||||
And I set the field "Available aggregation types" to "Weighted mean of grades"
|
||||
And I press "Save changes"
|
||||
And I am on the "Assignment 1" "assign activity" page
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Assignment 1" activity advanced grading page
|
||||
And I set the field "Grade out of 100" to "80"
|
||||
And I press "Save and show next"
|
||||
And I set the field "Grade out of 100" to "60"
|
||||
@ -56,9 +54,7 @@ Feature: Regrading grades does not unnecessarily mark some as overriden
|
||||
@javascript
|
||||
Scenario: Confirm overridden course total does not get regraded when activity grade is changed
|
||||
Given I am on the "Assignment 1" "assign activity" page
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Assignment 1" activity advanced grading page
|
||||
And I set the field "Grade out of 100" to "90"
|
||||
And I press "Save and show next"
|
||||
And I set the field "Grade out of 100" to "70"
|
||||
|
@ -46,9 +46,7 @@ Feature: View gradebook when scales are used
|
||||
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 navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment one" activity advanced grading page
|
||||
And I set the field "Grade" to "A"
|
||||
And I press "Save changes"
|
||||
And I click on "[data-action=next-user]" "css_element"
|
||||
|
@ -44,9 +44,7 @@ Feature: View gradebook when single item scales are used
|
||||
And I set the field "grade[modgrade_type]" to "Scale"
|
||||
And I set the field "grade[modgrade_scale]" to "EN Singleitem"
|
||||
And I press "Save and display"
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment one" activity advanced grading page
|
||||
And I set the field "Grade" to "A"
|
||||
And I press "Save changes"
|
||||
When I am on the "Course 1" "grades > course grade settings" page
|
||||
|
@ -88,9 +88,7 @@ Feature: Using the activity grade form element
|
||||
| grade[modgrade_scale] | ABCDEF |
|
||||
And I press "Save and display"
|
||||
And I am on the "Test assignment name" "assign activity" page
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I set the field "Grade" to "C"
|
||||
And I press "Save changes"
|
||||
And I follow "Edit settings"
|
||||
@ -121,9 +119,7 @@ Feature: Using the activity grade form element
|
||||
@javascript
|
||||
Scenario: Attempting to change the maximum grade when no rescaling option has been chosen
|
||||
Given I am on the "Test assignment name" "assign activity" page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I set the field "Grade out of 100" to "50"
|
||||
And I press "Save changes"
|
||||
And I follow "Edit settings"
|
||||
|
@ -22,10 +22,8 @@ Feature: Check that any changes to assignment feedback comments are not lost
|
||||
| activity | name | course | assignfeedback_comments_enabled |
|
||||
| assign | Test assignment name | C1 | 1 |
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
When I set the following fields to these values:
|
||||
| Grade out of 100 | 101 |
|
||||
| Feedback comments | Feedback from teacher. |
|
||||
|
@ -35,10 +35,8 @@ Feature: In an assignment, teacher can annotate PDF files during grading
|
||||
| file | mod/assign/feedback/editpdf/tests/fixtures/testgs.pdf |
|
||||
|
||||
When I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Submitted for grading" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Submitted for grading" "Test assignment name" activity advanced grading page
|
||||
And I change window size to "medium"
|
||||
Then I should see "Page 1 of 1"
|
||||
And I wait for the complete PDF to load
|
||||
@ -56,10 +54,8 @@ Feature: In an assignment, teacher can annotate PDF files during grading
|
||||
And I follow "View annotated PDF..."
|
||||
Then I should see "Page 1 of 1"
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Submitted for grading" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Submitted for grading" "Test assignment name" activity advanced grading page
|
||||
And I change window size to "medium"
|
||||
Then I should see "Page 1 of 3"
|
||||
And I wait for the complete PDF to load
|
||||
@ -113,10 +109,8 @@ Feature: In an assignment, teacher can annotate PDF files during grading
|
||||
And I log out
|
||||
|
||||
When I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Submitted for grading" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Submitted for grading" "Test assignment name" activity advanced grading page
|
||||
And I change window size to "medium"
|
||||
Then I should see "Page 1 of 3"
|
||||
And I click on ".navigate-next-button" "css_element"
|
||||
@ -186,10 +180,7 @@ Feature: In an assignment, teacher can annotate PDF files during grading
|
||||
| file | mod/assign/feedback/editpdf/tests/fixtures/submission.pdf |
|
||||
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I open the action menu in "Student 2" "table_row"
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 2" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I wait for the complete PDF to load
|
||||
And I click on ".linebutton" "css_element"
|
||||
And I draw on the pdf
|
||||
|
@ -32,10 +32,8 @@ Feature: Ensure that a comment remains visible if its popup menu is open
|
||||
| file | mod/assign/feedback/editpdf/tests/fixtures/submission.pdf |
|
||||
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Submitted for grading" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Submitted for grading" "Test assignment name" activity advanced grading page
|
||||
And I change window size to "medium"
|
||||
And I wait for the complete PDF to load
|
||||
|
||||
|
@ -42,9 +42,7 @@ Feature: In a group assignment, teacher can annotate PDF files for all users
|
||||
| file | mod/assign/feedback/editpdf/tests/fixtures/submission.pdf |
|
||||
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Submitted for grading" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Submitted for grading" "Test assignment name" activity advanced grading page
|
||||
And I wait for the complete PDF to load
|
||||
And I click on ".navigate-next-button" "css_element"
|
||||
And I wait until the page is ready
|
||||
|
@ -36,10 +36,8 @@ Feature: In an assignment, teacher can view the feedback for a previous attempt.
|
||||
| file | mod/assign/feedback/editpdf/tests/fixtures/submission.pdf, mod/assign/feedback/editpdf/tests/fixtures/testgs.pdf |
|
||||
|
||||
When I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Submitted for grading" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Submitted for grading" "Test assignment name" activity advanced grading page
|
||||
And I change window size to "medium"
|
||||
Then I should see "Page 1 of 3"
|
||||
And I click on ".navigate-next-button" "css_element"
|
||||
|
@ -33,10 +33,8 @@ Feature: In an assignment, students start a new attempt based on their previous
|
||||
| Test assignment name | student1 | I'm the student first submission |
|
||||
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I change window size to "medium"
|
||||
And I set the following fields to these values:
|
||||
| Allow another attempt | 1 |
|
||||
@ -51,10 +49,8 @@ Feature: In an assignment, students start a new attempt based on their previous
|
||||
And I log out
|
||||
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I change window size to "medium"
|
||||
And I should see "I'm the student first submission"
|
||||
|
||||
|
@ -121,9 +121,7 @@ Feature: View activity completion in the assignment activity
|
||||
And the "Receive a grade" completion condition of "Music history" is displayed as "todo"
|
||||
And I log out
|
||||
And I am on the "Music history" "assign activity" page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Vinnie Student1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Vinnie Student1" "Music history" activity advanced grading page
|
||||
And I set the field "Grade out of 100" to "33"
|
||||
And I set the field "Notify student" to "0"
|
||||
And I press "Save changes"
|
||||
@ -146,9 +144,7 @@ Feature: View activity completion in the assignment activity
|
||||
And the "Make a submission" completion condition of "Music history 2" is displayed as "done"
|
||||
And I log out
|
||||
And I am on the "Music history 2" "assign activity" page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Vinnie Student1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Vinnie Student1" "Music history 2" activity advanced grading page
|
||||
And I set the field "Grade out of 100" to "33"
|
||||
And I set the field "Notify student" to "0"
|
||||
And I set the field "Allow another attempt" to "Yes"
|
||||
|
@ -47,9 +47,7 @@ Feature: Assignments settings can be changed
|
||||
And I press "Save changes"
|
||||
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I set the field "Grade out of 100" to "40"
|
||||
And I set the field "Notify student" to "0"
|
||||
And I press "Save changes"
|
||||
@ -82,9 +80,7 @@ Feature: Assignments settings can be changed
|
||||
And I press "Save changes"
|
||||
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 2" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 2" "Test assignment name" activity advanced grading page
|
||||
And I set the field "Grade out of 100" to "40"
|
||||
And I set the field "Notify student" to "0"
|
||||
And I press "Save changes"
|
||||
@ -108,10 +104,8 @@ Feature: Assignments settings can be changed
|
||||
And I press "Save changes"
|
||||
|
||||
When I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 3" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 3" "Test assignment name" activity advanced grading page
|
||||
And I change window size to "medium"
|
||||
And I set the field "Grade out of 100" to "40"
|
||||
And I set the field "Notify student" to "0"
|
||||
|
@ -32,10 +32,8 @@ Feature: In an assignment, teachers can edit a students submission inline
|
||||
| Test assignment name | student1 | I'm the student first submission |
|
||||
|
||||
When I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I change window size to "medium"
|
||||
And I set the following fields to these values:
|
||||
| Grade out of 100 | 50 |
|
||||
|
@ -28,10 +28,8 @@ Feature: Check that the assignment grade can not be input in a wrong format.
|
||||
| markingworkflow | 1 |
|
||||
| submissiondrafts | 0 |
|
||||
When I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I set the field "Grade out of 100" to "50,,6"
|
||||
And I press "Save changes"
|
||||
Then I should see "The grade provided could not be understood: 50,,6"
|
||||
@ -60,10 +58,8 @@ Feature: Check that the assignment grade can not be input in a wrong format.
|
||||
| markingworkflow | 1 |
|
||||
| submissiondrafts | 0 |
|
||||
When I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I set the field "Grade out of 100" to "50..6"
|
||||
And I press "Save changes"
|
||||
Then I should see "The grade provided could not be understood: 50..6"
|
||||
|
@ -28,10 +28,8 @@ Feature: Check that the assignment grade can be updated correctly
|
||||
| markingworkflow | 1 |
|
||||
| submissiondrafts | 0 |
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
Then I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
Then I change window size to "large"
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I set the field "Grade out of 100" to "50"
|
||||
And I set the field "Notify student" to "0"
|
||||
And I press "Save changes"
|
||||
@ -64,10 +62,8 @@ Feature: Check that the assignment grade can be updated correctly
|
||||
| teamsubmission | 1 |
|
||||
| groupmode | 0 |
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
When I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
When I change window size to "large"
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I change window size to "medium"
|
||||
And I set the field "Grade out of 100" to "50"
|
||||
And I set the field "Notify student" to "0"
|
||||
|
@ -33,10 +33,8 @@ Feature: In an assignment, teachers can edit feedback for a students previous su
|
||||
| assign | user | onlinetext |
|
||||
| Test assignment name | student2 | I'm the student first submission |
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 2" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 2" "Test assignment name" activity advanced grading page
|
||||
And I change window size to "medium"
|
||||
And I set the following fields to these values:
|
||||
| Grade | 49 |
|
||||
@ -51,10 +49,8 @@ Feature: In an assignment, teachers can edit feedback for a students previous su
|
||||
And I log out
|
||||
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 2" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 2" "Test assignment name" activity advanced grading page
|
||||
And I change window size to "medium"
|
||||
And I click on "View a different attempt" "link"
|
||||
And I click on "Attempt 1" "radio" in the "View a different attempt" "dialogue"
|
||||
|
@ -32,9 +32,7 @@ Feature: In an assignment, teachers can filter displayed submissions by assigned
|
||||
| markingworkflow | 1 |
|
||||
| markingallocation | 1 |
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I set the field "allocatedmarker" to "Marker 1"
|
||||
And I set the field "Notify student" to "0"
|
||||
And I press "Save changes"
|
||||
|
@ -53,16 +53,12 @@ Feature: In an assignment, teachers can filter displayed submissions by marking
|
||||
And I expand all fieldsets
|
||||
And I set the field "Use marking workflow" to "Yes"
|
||||
And I press "Save and display"
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
# Change the marking workflow state for Student 2 and Student 3.
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 2" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 2" "Test assignment" activity advanced grading page
|
||||
And I set the field "Marking workflow state" to "In marking"
|
||||
And I press "Save changes"
|
||||
And I follow "View all submissions"
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 3" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 3" "Test assignment" activity advanced grading page
|
||||
And I set the field "Marking workflow state" to "Marking completed"
|
||||
And I press "Save changes"
|
||||
And I follow "View all submissions"
|
||||
@ -131,11 +127,9 @@ Feature: In an assignment, teachers can filter displayed submissions by marking
|
||||
And I expand all fieldsets
|
||||
And I set the field "Use marking workflow" to "Yes"
|
||||
And I press "Save and display"
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
# Change the marking workflow state for Student 2.
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 2" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 2" "Test assignment" activity advanced grading page
|
||||
And I set the field "Marking workflow state" to "In marking"
|
||||
And I press "Save changes"
|
||||
And I follow "View all submissions"
|
||||
|
@ -51,9 +51,7 @@ Feature: In an assignment, teachers can filter displayed submissions and see dra
|
||||
@javascript
|
||||
Scenario: View assignments with draft status in the grader
|
||||
Given I am on the "Test assignment" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment" activity advanced grading page
|
||||
When I click on "[data-region=user-filters]" "css_element"
|
||||
And I set the field "filter" to "Draft"
|
||||
Then I should see "1 of 1"
|
||||
|
@ -35,9 +35,7 @@ Feature: In an assignment, teachers can change filters in the grading app
|
||||
@javascript
|
||||
Scenario: Set filters in the grading table and see them in the grading app
|
||||
Given I am on the "Test assignment name &" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name &" activity advanced grading page
|
||||
And I should not see "Course 1 &"
|
||||
And the "title" attribute of "a[title='Course: Course 1 &']" "css_element" should not contain "&"
|
||||
And I should not see "Test assignment name &"
|
||||
@ -64,18 +62,14 @@ Feature: In an assignment, teachers can change filters in the grading app
|
||||
@javascript
|
||||
Scenario: Set filters in the grading app and see them in the grading table
|
||||
Given I am on the "Test assignment name &" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name &" activity advanced grading page
|
||||
And I set the field "allocatedmarker" to "Marker 1"
|
||||
And I set the field "workflowstate" to "In marking"
|
||||
And I set the field "Notify student" to "0"
|
||||
And I press "Save changes"
|
||||
|
||||
And I am on the "Test assignment name &" Activity page
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name &" activity advanced grading page
|
||||
And I click on "[data-region=user-filters]" "css_element"
|
||||
And I set the field "filter" to "Not submitted"
|
||||
And I set the field "markerfilter" to "Marker 1"
|
||||
|
@ -205,9 +205,7 @@ Feature: Group assignment submissions
|
||||
| assign | user | onlinetext |
|
||||
| Test assignment name | student1 | I'm the student's first submission |
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I set the following fields to these values:
|
||||
| Grade out of 100 | 50.0 |
|
||||
| Apply grades and feedback to entire group | 1 |
|
||||
|
@ -46,9 +46,7 @@ Feature: Outcome grading
|
||||
| Online text | My online text |
|
||||
And I press "Save changes"
|
||||
When I am on the "Test assignment name" "assign activity" page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 0" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 0" "Test assignment name" activity advanced grading page
|
||||
And I set the following fields to these values:
|
||||
| Outcome Test: | Excellent |
|
||||
And I press "Save changes"
|
||||
@ -88,9 +86,7 @@ Feature: Outcome grading
|
||||
| Online text | My online text |
|
||||
And I press "Save changes"
|
||||
When I am on the "Test assignment name" "assign activity" page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 0" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 0" "Test assignment name" activity advanced grading page
|
||||
And I set the following fields to these values:
|
||||
| Outcome Test: | Excellent |
|
||||
| Apply grades and feedback to entire group | Yes |
|
||||
|
@ -29,10 +29,8 @@ Feature: In an assignment, teachers grade multiple students on one page
|
||||
| Test assignment name | student1 | I'm the student1 submission |
|
||||
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
When I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I change window size to "medium"
|
||||
And I press "Save changes"
|
||||
And I am on the "Test assignment name" "assign activity" page
|
||||
@ -88,9 +86,7 @@ Feature: In an assignment, teachers grade multiple students on one page
|
||||
| Online text | I'm the student2 submission |
|
||||
And I press "Save changes"
|
||||
And I am on the "Test assignment name" "assign activity" page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I set the following fields to these values:
|
||||
| Grade out of 100 | 50.0 |
|
||||
| M8d skillZ! | 1337 |
|
||||
|
@ -28,9 +28,7 @@ Feature: Check that the assignment grade can be rescaled when the max grade is c
|
||||
| submissiondrafts | 0 |
|
||||
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I set the field "Grade out of 100" to "40"
|
||||
And I press "Save changes"
|
||||
And I follow "View all submissions"
|
||||
@ -72,10 +70,8 @@ Feature: Check that the assignment grade can be rescaled when the max grade is c
|
||||
Then "Student 1" row "Grade" column of "generaltable" table should contain "20.00"
|
||||
|
||||
Scenario: Rescaling should not produce negative grades
|
||||
Given I navigate to "Submissions" in current page administration
|
||||
And I change window size to "large"
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 2" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
Given I change window size to "large"
|
||||
And I go to "Student 2" "Test assignment name" activity advanced grading page
|
||||
And I change window size to "medium"
|
||||
And I wait until the page is ready
|
||||
And I am on the "Test assignment name" "assign activity" page
|
||||
|
@ -53,9 +53,7 @@ Feature: In an assignment, students can comment in their submissions
|
||||
| assign | user | onlinetext |
|
||||
| Test assignment name | student1 | student one submission |
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I click on ".comment-link" "css_element"
|
||||
When I set the field "content" to "Teacher feedback first comment"
|
||||
And I press "Save changes"
|
||||
@ -72,9 +70,7 @@ Feature: In an assignment, students can comment in their submissions
|
||||
| Test assignment name | student1 | I'm the student submission |
|
||||
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I click on ".comment-link" "css_element"
|
||||
When I set the field "content" to "Teacher feedback first comment"
|
||||
# click the save and show next twice as we have only 2 students
|
||||
@ -90,9 +86,7 @@ Feature: In an assignment, students can comment in their submissions
|
||||
| activity | course | name | assignsubmission_onlinetext_enabled | assignmentsubmission_file_enabled | assignfeedback_comments_enabled |
|
||||
| assign | C1 | Test assignment name | 0 | 0 | 1 |
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
When I set the following fields to these values:
|
||||
| Grade out of 100 | 50 |
|
||||
| Feedback comments | I'm the teacher feedback |
|
||||
@ -106,9 +100,7 @@ Feature: In an assignment, students can comment in their submissions
|
||||
| activity | course | name | assignsubmission_onlinetext_enabled | assignmentsubmission_file_enabled | assignfeedback_comments_enabled |
|
||||
| assign | C1 | Test assignment name | 0 | 0 | 1 |
|
||||
And I am on the "Test assignment name" Activity page logged in as teacher1
|
||||
And I navigate to "Submissions" in current page administration
|
||||
And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
|
||||
And I choose "Grade" in the open action menu
|
||||
And I go to "Student 1" "Test assignment name" activity advanced grading page
|
||||
And I set the following fields to these values:
|
||||
| Grade out of 100 | 0 |
|
||||
And I press "Save changes"
|
||||
|
Loading…
x
Reference in New Issue
Block a user