From a51d24c8a8795d8fabfabe84b20dad1865c571cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20D=C3=A9niz?= Date: Fri, 1 Apr 2022 12:54:10 +0100 Subject: [PATCH] MDL-74330 lang: Replace modified strings in tests --- admin/tool/oauth2/tests/behat/email_verification.feature | 6 +++--- enrol/lti/tests/behat/lti_adv_tool_registration.feature | 2 +- lib/tests/behat/enabledashboard.feature | 2 +- .../columnsortorder/tests/behat/columnsortorder.feature | 8 ++++---- question/format/gift/tests/behat/import_export.feature | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/admin/tool/oauth2/tests/behat/email_verification.feature b/admin/tool/oauth2/tests/behat/email_verification.feature index fee1f02c973..40c82a728aa 100644 --- a/admin/tool/oauth2/tests/behat/email_verification.feature +++ b/admin/tool/oauth2/tests/behat/email_verification.feature @@ -16,10 +16,10 @@ Feature: OAuth2 email verification | Name | Testing service | | Client ID | thisistheclientid | | Client secret | supersecret | - Then I should not see "I understand that disabling email verification can be a security issue" + Then I should not see "I understand that disabling email verification can be a security issue." And I click on "Require email verification" "checkbox" - And I should see "I understand that disabling email verification can be a security issue" - And I click on "I understand that disabling email verification can be a security issue" "checkbox" + And I should see "I understand that disabling email verification can be a security issue." + And I click on "I understand that disabling email verification can be a security issue." "checkbox" And I press "Save changes" And I should see "Changes saved" And I click on "Edit" "link" in the "Testing service" "table_row" diff --git a/enrol/lti/tests/behat/lti_adv_tool_registration.feature b/enrol/lti/tests/behat/lti_adv_tool_registration.feature index f472b6f607e..ae86a1d2096 100644 --- a/enrol/lti/tests/behat/lti_adv_tool_registration.feature +++ b/enrol/lti/tests/behat/lti_adv_tool_registration.feature @@ -124,7 +124,7 @@ Feature: Register a platform with the tool | Public keyset URL | https://lms.example.com/jwks | | Access token URL | https://lms.example.com/token | And I press "Save changes" - Then I should see "Invalid Client ID. This Client ID is already registered for the Platform ID provided." + Then I should see "Invalid client ID. This client ID is already registered for the platform ID provided." Scenario: An admin can add deployment ids for a given platform registration Given the following "enrol_lti > application registrations" exist: diff --git a/lib/tests/behat/enabledashboard.feature b/lib/tests/behat/enabledashboard.feature index b21d531fb46..83073403178 100644 --- a/lib/tests/behat/enabledashboard.feature +++ b/lib/tests/behat/enabledashboard.feature @@ -11,7 +11,7 @@ Feature: Enable dashboard setting | defaulthomepage | 2 | When I log in as "admin" And I navigate to "Appearance > Navigation" in site administration - Then the field "Enable dashboard" matches value "0" + Then the field "Enable Dashboard" matches value "0" And I should not see "Allow guest access to Dashboard" And I should not see "Dashboard" in the "Start page for users" "select" And I follow "Appearance" diff --git a/question/bank/columnsortorder/tests/behat/columnsortorder.feature b/question/bank/columnsortorder/tests/behat/columnsortorder.feature index ae84649c69f..e3906356abb 100644 --- a/question/bank/columnsortorder/tests/behat/columnsortorder.feature +++ b/question/bank/columnsortorder/tests/behat/columnsortorder.feature @@ -50,12 +50,12 @@ Feature: An plugin column can be reordered and displayed in the question bank vi And I click on "Manage question bank plugins" "link" And I click on "Disable" "link" in the "View creator" "table_row" And I click on "Column sort order" "link" - Then "Columns below are currently disabled." "text" should appear before "Created by" "text" + Then "Currently disabled question bank plugins:" "text" should appear before "Created by" "text" And I should not see "Created by (creator_name_column)" And I click on "Manage question bank plugins" "link" And I click on "Enable" "link" in the "View creator" "table_row" And I click on "Column sort order" "link" - Then I should not see "Columns below are currently disabled." + Then I should not see "Currently disabled question bank plugins:" And I should see "Created by (creator_name_column)" Scenario: Custom fields are reorderable @@ -77,9 +77,9 @@ Feature: An plugin column can be reordered and displayed in the question bank vi And I click on "Manage question bank plugins" "link" And I click on "Disable" "link" in the "Question custom fields" "table_row" And I click on "Column sort order" "link" - Then "Columns below are currently disabled." "text" should appear before "chckcust" "text" + Then "Currently disabled question bank plugins:" "text" should appear before "chckcust" "text" And I click on "Manage question bank plugins" "link" And I click on "Enable" "link" in the "Question custom fields" "table_row" And I click on "Column sort order" "link" - Then I should not see "Columns below are currently disabled." + Then I should not see "Currently disabled question bank plugins:" And I should see "checkboxcustomcolumn" diff --git a/question/format/gift/tests/behat/import_export.feature b/question/format/gift/tests/behat/import_export.feature index 49aa2145548..347df483baa 100644 --- a/question/format/gift/tests/behat/import_export.feature +++ b/question/format/gift/tests/behat/import_export.feature @@ -58,4 +58,4 @@ Feature: Test importing questions from GIFT format. And I set the field "id_format_gift" to "1" And I upload "question/format/gift/tests/fixtures/questions_encoding_windows-1252.gift.txt" file to "Import" filemanager And I press "id_submitbutton" - Then I should see "The file you selected is not in UFT-8 character encoding. GIFT format files must use UTF-8." + Then I should see "The file you selected does not use UTF-8 character encoding. GIFT format files must use UTF-8."