Skip to content

Commit

Permalink
MDL-74330 lang: Replace modified strings in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vmdef committed Apr 1, 2022
1 parent 3719878 commit a51d24c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions admin/tool/oauth2/tests/behat/email_verification.feature
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion enrol/lti/tests/behat/lti_adv_tool_registration.feature
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion lib/tests/behat/enabledashboard.feature
Expand Up @@ -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"
Expand Down
Expand Up @@ -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
Expand All @@ -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"
2 changes: 1 addition & 1 deletion question/format/gift/tests/behat/import_export.feature
Expand Up @@ -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."

0 comments on commit a51d24c

Please sign in to comment.