diff --git a/grade/grading/form/guide/tests/behat/behat_gradingform_guide.php b/grade/grading/form/guide/tests/behat/behat_gradingform_guide.php index f368c14787e..7c90524c67f 100644 --- a/grade/grading/form/guide/tests/behat/behat_gradingform_guide.php +++ b/grade/grading/form/guide/tests/behat/behat_gradingform_guide.php @@ -57,7 +57,7 @@ class behat_gradingform_guide extends behat_base { * @param TableNode $guide */ public function i_define_the_following_marking_guide(TableNode $guide) { - $steptableinfo = '| Criterion name | Description for students | Description for markers | Maximum mark |'; + $steptableinfo = '| Criterion name | Description for students | Description for markers | Maximum score |'; if ($criteria = $guide->getHash()) { $addcriterionbutton = $this->find_button(get_string('addcriterion', 'gradingform_guide')); @@ -92,7 +92,7 @@ class behat_gradingform_guide extends behat_base { $this->set_guide_field_value($criterionroot . '[descriptionmarkers]', $criterion['Description for markers']); // Set the field value for the Max score field. - $this->set_guide_field_value($criterionroot . '[maxscore]', $criterion['Maximum mark']); + $this->set_guide_field_value($criterionroot . '[maxscore]', $criterion['Maximum score']); } } } diff --git a/grade/grading/form/guide/tests/behat/edit_guide.feature b/grade/grading/form/guide/tests/behat/edit_guide.feature index abe994a774a..f043693e559 100644 --- a/grade/grading/form/guide/tests/behat/edit_guide.feature +++ b/grade/grading/form/guide/tests/behat/edit_guide.feature @@ -29,10 +29,10 @@ Feature: Marking guides can be created and edited | Name | Assignment 1 marking guide | | Description | Marking guide test description | And I define the following marking guide: - | Criterion name | Description for students | Description for markers | Maximum mark | - | Guide criterion A | Guide A description for students | Guide A description for markers | 30 | - | Guide criterion B | Guide B description for students | Guide B description for markers | 30 | - | Guide criterion C | Guide C description for students | Guide C description for markers | 40 | + | Criterion name | Description for students | Description for markers | Maximum score | + | Guide criterion A | Guide A description for students | Guide A description for markers | 30 | + | Guide criterion B | Guide B description for students | Guide B description for markers | 30 | + | Guide criterion C | Guide C description for students | Guide C description for markers | 40 | And I define the following frequently used comments: | Comment 1 | | Comment 2 | diff --git a/mod/lti/tests/behat/addtool.feature b/mod/lti/tests/behat/addtool.feature index 4ecc90bdd69..6da74b4e1e2 100644 --- a/mod/lti/tests/behat/addtool.feature +++ b/mod/lti/tests/behat/addtool.feature @@ -20,7 +20,7 @@ Feature: Add tools And I follow "Add preconfigured tool" And I set the following fields to these values: | Tool name | Teaching Tool 1 | - | Show when creating activities | Show in activity chooser and as preconfigured tool | + | Tool configuration usage | Show in activity chooser and as a preconfigured tool | And I set the field "Tool base URL/cartridge URL" to local url "/mod/lti/tests/fixtures/tool_provider.html" And I press "Save changes" And I log out diff --git a/mod/lti/tests/behat/toolconfigure.feature b/mod/lti/tests/behat/toolconfigure.feature index 8ab4713dfee..e1afbda5350 100644 --- a/mod/lti/tests/behat/toolconfigure.feature +++ b/mod/lti/tests/behat/toolconfigure.feature @@ -33,7 +33,7 @@ Feature: Configure tool types And I press "Add" Then I should see "Enter your consumer key and shared secret" And I press "Save changes" - And I should see "Failed to create new tool. Please check the url and try again." + And I should see "Failed to create new tool. Please check the URL and try again." @javascript Scenario: Attempt to add a tool type from a configuration URL, then cancel