MDL-67527 lang: Propagate the string fixes to Behat and other places

This commit is contained in:
David Mudrák 2019-12-18 09:01:09 +01:00
parent 824c87f370
commit 6aff025cad
4 changed files with 9 additions and 9 deletions

View File

@ -78,7 +78,7 @@ $string['rubricmappingexplained'] = 'The minimum possible score for this rubric
If a scale is used for grading, the score will be rounded and converted to the scale elements as if they were consecutive integers.
This grade calculation may be changed by editing the form and ticking the box \'Calculate grade based on the rubric having a minimum score of 0\'.';
This grade calculation may be changed by editing the form and ticking the box \'Calculate grade having a minimum score of the minimum achievable grade for the rubric\'.';
$string['rubricnotcompleted'] = 'Please choose something for each criterion';
$string['rubricoptions'] = 'Rubric options';
$string['rubricstatus'] = 'Current rubric status';

View File

@ -29,7 +29,7 @@ Feature: Converting rubric score to grades
And I set the following fields to these values:
| Name | Assignment 1 rubric |
| Description | Rubric test description |
| Calculate grade based on the rubric having a minimum score of 0 | <lockzeropoints> |
| Calculate grade having a minimum score of the minimum achievable grade for the rubric | <lockzeropoints> |
And I define the following rubric:
| Criterion 1 | Level 11 | 20 | Level 12 | 25 | Level 13 | 40 | Level 14 | 50 |
| Criterion 2 | Level 21 | 20 | Level 22 | 25 | Level 23 | 30 | | |

View File

@ -38,7 +38,7 @@ Feature: File types of the submission and feedback attachments can be limitted
And I log in as "student1"
And I am on "Course1" course homepage
And I follow "TestWorkshop"
And I press "Start preparing your submission"
And I press "Add submission"
And I set the following fields to these values:
| Title | Submission1 |
| Submission content | See the attached file |

View File

@ -73,7 +73,7 @@ Feature: Submission types
And I follow "All required"
And I follow "Switch to the submission phase"
And I press "Continue"
And I press "Start preparing your submission"
And I press "Add submission"
And I set the field "Title" to "Test submission"
When I press "Save changes"
Then I should see "You must supply a value here." in the "Submission content" "form_row"
@ -95,7 +95,7 @@ Feature: Submission types
And I follow "Optional file"
And I follow "Switch to the submission phase"
And I press "Continue"
And I press "Start preparing your submission"
And I press "Add submission"
And I set the field "Title" to "Test submission"
When I press "Save changes"
Then I should see "You must supply a value here." in the "Submission content" "form_row"
@ -115,7 +115,7 @@ Feature: Submission types
And I follow "Optional text"
And I follow "Switch to the submission phase"
And I press "Continue"
And I press "Start preparing your submission"
And I press "Add submission"
And I set the field "Title" to "Test submission"
When I press "Save changes"
Then I should see "You must supply a value here." in the "Attachment" "form_row"
@ -134,7 +134,7 @@ Feature: Submission types
And I follow "Only text"
And I follow "Switch to the submission phase"
And I press "Continue"
When I press "Start preparing your submission"
When I press "Add submission"
Then "Attachment" "field" should not exist
And I set the field "Title" to "Test submission"
And I press "Save changes"
@ -155,7 +155,7 @@ Feature: Submission types
And I follow "Only file"
And I follow "Switch to the submission phase"
And I press "Continue"
When I press "Start preparing your submission"
When I press "Add submission"
Then "Submission content" "field" should not exist
And I set the field "Title" to "Test submission"
And I press "Save changes"
@ -177,7 +177,7 @@ Feature: Submission types
And I follow "Neither required"
And I follow "Switch to the submission phase"
And I press "Continue"
And I press "Start preparing your submission"
And I press "Add submission"
And I set the field "Title" to "Test submission"
When I press "Save changes"
Then I should see "You need to add a file or enter some text." in the "Attachment" "form_row"