Skip to content

Commit

Permalink
MDL-73201 lang: Use changed strings in tests, too
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz committed Dec 9, 2021
1 parent a63c76e commit f52d41e
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion mod/assign/tests/behat/assign_activity_completion.feature
Expand Up @@ -115,7 +115,7 @@ Feature: View activity completion in the assignment activity
And I navigate to "View all submissions" in current page administration
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
Expand Down
8 changes: 4 additions & 4 deletions mod/assign/tests/behat/bulk_release_anon_submissions.feature
Expand Up @@ -62,7 +62,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 follow "Test assignment name"
And I navigate to "View all submissions" in current page administration
Expand All @@ -71,7 +71,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 follow "Test assignment name"
And I navigate to "View all submissions" in current page administration
Expand All @@ -86,7 +86,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 follow "Test assignment name"
And I navigate to "View all submissions" in current page administration
Expand Down Expand Up @@ -136,7 +136,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 follow "Test assignment name"
And I navigate to "View all submissions" in current page administration
Expand Down
4 changes: 2 additions & 2 deletions mod/assign/tests/behat/display_grade.feature
Expand Up @@ -31,7 +31,7 @@ Feature: Check that the assignment grade can be updated correctly
Then 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 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 click on "Edit settings" "link"
And I follow "Test assignment name"
Expand Down Expand Up @@ -67,7 +67,7 @@ Feature: Check that the assignment grade can be updated correctly
When 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 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 click on "Edit settings" "link"
And I follow "Test assignment name"
Expand Down
2 changes: 1 addition & 1 deletion mod/assign/tests/behat/filter_by_marker.feature
Expand Up @@ -35,7 +35,7 @@ Feature: In an assignment, teachers can filter displayed submissions by assigned
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 "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"

Expand Down
4 changes: 2 additions & 2 deletions mod/assign/tests/behat/grading_app_filters.feature
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions mod/assign/tests/behat/grading_status.feature
Expand Up @@ -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 navigate to "View all submissions" in current page administration
Expand Down Expand Up @@ -82,7 +82,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 navigate to "View all submissions" in current page administration
Expand Down
6 changes: 3 additions & 3 deletions mod/assign/tests/behat/steps_blind_marking.feature
Expand Up @@ -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 click on "Edit settings" "link"
And I follow "Test assignment name"
Expand All @@ -51,7 +51,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 click on "Edit settings" "link"
And I follow "Test assignment name"
Expand All @@ -77,7 +77,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 click on "Edit settings" "link"
And I follow "Test assignment name"
Expand Down

0 comments on commit f52d41e

Please sign in to comment.