MDL-73201 lang: Use fixed strings in the tests, too

This commit is contained in:
David Mudrák 2021-12-06 21:39:35 +01:00
parent 558b4c826d
commit 46e2e2020d
16 changed files with 47 additions and 47 deletions

View file

@ -115,7 +115,7 @@ Feature: View activity completion in the assignment activity
And I follow "View all submissions"
And I click on "Grade" "link" in the "Vinnie Student1" "table_row"
And I set the field "Grade out of 100" to "33"
And I set the field "Notify students" to "0"
And I set the field "Notify student" to "0"
And I press "Save changes"
And I follow "View all submissions"
And I log out

View file

@ -57,7 +57,7 @@ Feature: Bulk released grades should not be sent to gradebook while submissions
And I set the field "Grade out of 100" to "50"
And I set the field "Marking workflow state" to "In review"
And I set the field "Feedback comments" to "Great job!"
And I set the field "Notify students" to "0"
And I set the field "Notify student" to "0"
And I press "Save changes"
And I am on the "Test assignment name" "assign activity" page
And I follow "View all submissions"
@ -66,7 +66,7 @@ Feature: Bulk released grades should not be sent to gradebook while submissions
And I set the field "Grade out of 100" to "50"
And I set the field "Marking workflow state" to "In review"
And I set the field "Feedback comments" to "Great job!"
And I set the field "Notify students" to "0"
And I set the field "Notify student" to "0"
And I press "Save changes"
And I am on the "Test assignment name" "assign activity" page
And I follow "View all submissions"
@ -81,7 +81,7 @@ Feature: Bulk released grades should not be sent to gradebook while submissions
Then I should not see "Student 1 (student1@example.com)"
And I should not see "Student 2 (student2@example.com)"
And I set the field "Marking workflow state" to "Released"
And I set the field "Notify students" to "No"
And I set the field "Notify student" to "No"
And I press "Save changes"
And I am on the "Test assignment name" "assign activity" page
And I follow "View all submissions"
@ -129,7 +129,7 @@ Feature: Bulk released grades should not be sent to gradebook while submissions
Then I should see "Student 1 (student1@example.com)"
And I should see "Student 2 (student2@example.com)"
And I set the field "Marking workflow state" to "Released"
And I set the field "Notify students" to "No"
And I set the field "Notify student" to "No"
And I press "Save changes"
And I am on the "Test assignment name" "assign activity" page
And I follow "View all submissions"

View file

@ -31,7 +31,7 @@ Feature: Check that the assignment grade can be updated correctly
Then I follow "View all submissions"
And I click on "Grade" "link" in the "Student 1" "table_row"
And I set the field "Grade out of 100" to "50"
And I set the field "Notify students" to "0"
And I set the field "Notify student" to "0"
And I press "Save changes"
And I follow "View all submissions"
And "Student 1" row "Grade" column of "generaltable" table should contain "50.00"
@ -65,7 +65,7 @@ Feature: Check that the assignment grade can be updated correctly
When I follow "View all submissions"
And I click on "Grade" "link" in the "Student 1" "table_row"
And I set the field "Grade out of 100" to "50"
And I set the field "Notify students" to "0"
And I set the field "Notify student" to "0"
And I press "Save changes"
And I follow "View all submissions"
Then "Student 1" row "Grade" column of "generaltable" table should contain "50.00"

View file

@ -35,7 +35,7 @@ Feature: In an assignment, teachers can filter displayed submissions by assigned
And I follow "View all submissions"
And I click on "Grade" "link" in the "Student 1" "table_row"
And I set the field "allocatedmarker" to "Marker 1"
And I set the field "Notify students" to "0"
And I set the field "Notify student" to "0"
And I press "Save changes"
And I click on "Edit settings" "link"

View file

@ -42,7 +42,7 @@ Feature: In an assignment, teachers can change filters in the grading app
And I should not see "Test assignment name &"
And I set the field "allocatedmarker" to "Marker 1"
And I set the field "workflowstate" to "In marking"
And I set the field "Notify students" to "0"
And I set the field "Notify student" to "0"
And I press "Save changes"
And I am on the "Test assignment name &" Activity page
@ -62,7 +62,7 @@ Feature: In an assignment, teachers can change filters in the grading app
And I click on "Grade" "link" in the "Student 1" "table_row"
And I set the field "allocatedmarker" to "Marker 1"
And I set the field "workflowstate" to "In marking"
And I set the field "Notify students" to "0"
And I set the field "Notify student" to "0"
And I press "Save changes"
And I am on the "Test assignment name &" Activity page

View file

@ -46,7 +46,7 @@ Feature: View the grading status of an assignment
And I set the field "Grade out of 100" to "50"
And I set the field "Marking workflow state" to "In review"
And I set the field "Feedback comments" to "Great job! Lol, not really."
And I set the field "Notify students" to "0"
And I set the field "Notify student" to "0"
And I press "Save changes"
And I am on the "Test assignment name" "assign activity" page
And I follow "View all submissions"
@ -80,7 +80,7 @@ Feature: View the grading status of an assignment
And I click on "Grade" "link" in the "Student 1" "table_row"
And I should see "1 of 1"
And I set the field "Marking workflow state" to "In marking"
And I set the field "Notify students" to "0"
And I set the field "Notify student" to "0"
And I press "Save changes"
And I am on the "Test assignment name" "assign activity" page
And I follow "View all submissions"

View file

@ -40,7 +40,7 @@ Feature: Assignments correctly add feedback to the grade report when workflow an
And I set the field "Grade out of 100" to "50"
And I set the field "Marking workflow state" to "In review"
And I set the field "Feedback comments" to "Great job! Lol, not really."
And I set the field "Notify students" to "0"
And I set the field "Notify student" to "0"
And I press "Save changes"
And I follow "View all submissions"
And I should see "In review" in the "I'm the student's first submission" "table_row"
@ -49,7 +49,7 @@ Feature: Assignments correctly add feedback to the grade report when workflow an
Scenario: Student identities are revealed after releasing the grades.
When 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 "Ready for release"
And I set the field "Notify students" to "0"
And I set the field "Notify student" to "0"
And I press "Save changes"
And I follow "View all submissions"
And I should see "Ready for release" in the "I'm the student's first submission" "table_row"
@ -71,7 +71,7 @@ Feature: Assignments correctly add feedback to the grade report when workflow an
Scenario: Student identities are revealed before releasing the grades.
When 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 "Ready for release"
And I set the field "Notify students" to "0"
And I set the field "Notify student" to "0"
And I press "Save changes"
And I follow "View all submissions"
And I should see "Ready for release" in the "I'm the student's first submission" "table_row"