diff --git a/blocks/myoverview/tests/behat/block_myoverview_dashboard.feature b/blocks/myoverview/tests/behat/block_myoverview_dashboard.feature index 175d4173e20..98ac92536d8 100644 --- a/blocks/myoverview/tests/behat/block_myoverview_dashboard.feature +++ b/blocks/myoverview/tests/behat/block_myoverview_dashboard.feature @@ -124,7 +124,7 @@ Feature: The my overview block allows users to easily access their courses Scenario: List display persistence Given I log in as "student1" - And I click on "Display dropdown" "button" in the "Course overview" "block" + And I click on "Display drop-down menu" "button" in the "Course overview" "block" And I click on "List" "link" in the "Course overview" "block" And I reload the page Then I should see "List" in the "Course overview" "block" @@ -132,7 +132,7 @@ Feature: The my overview block allows users to easily access their courses Scenario: Cards display persistence Given I log in as "student1" - And I click on "Display dropdown" "button" in the "Course overview" "block" + And I click on "Display drop-down menu" "button" in the "Course overview" "block" And I click on "Card" "link" in the "Course overview" "block" And I reload the page Then I should see "Card" in the "Course overview" "block" @@ -140,7 +140,7 @@ Feature: The my overview block allows users to easily access their courses Scenario: Summary display persistence Given I log in as "student1" - And I click on "Display dropdown" "button" in the "Course overview" "block" + And I click on "Display drop-down menu" "button" in the "Course overview" "block" And I click on "Summary" "link" in the "Course overview" "block" And I reload the page Then I should see "Summary" in the "Course overview" "block" @@ -206,18 +206,18 @@ Feature: The my overview block allows users to easily access their courses Scenario: Show course category in cards display Given I log in as "student1" - And I click on "Display dropdown" "button" in the "Course overview" "block" + And I click on "Display drop-down menu" "button" in the "Course overview" "block" When I click on "Card" "link" in the "Course overview" "block" Then I should see "Category 1" in the "Course overview" "block" Scenario: Show course category in list display Given I log in as "student1" - And I click on "Display dropdown" "button" in the "Course overview" "block" + And I click on "Display drop-down menu" "button" in the "Course overview" "block" When I click on "List" "link" in the "Course overview" "block" Then I should see "Category 1" in the "Course overview" "block" Scenario: Show course category in summary display Given I log in as "student1" - And I click on "Display dropdown" "button" in the "Course overview" "block" + And I click on "Display drop-down menu" "button" in the "Course overview" "block" When I click on "Summary" "link" in the "Course overview" "block" Then I should see "Category 1" in the "Course overview" "block" diff --git a/blocks/myoverview/tests/behat/block_myoverview_favourite.feature b/blocks/myoverview/tests/behat/block_myoverview_favourite.feature index 40a2442cdf0..9752f6f54f1 100644 --- a/blocks/myoverview/tests/behat/block_myoverview_favourite.feature +++ b/blocks/myoverview/tests/behat/block_myoverview_favourite.feature @@ -39,7 +39,7 @@ Feature: The my overview block allows users to favourite their courses When I click on ".coursemenubtn" "css_element" in the "//div[@class='card dashboard-card' and contains(.,'Course 5')]" "xpath_element" And I click on "Star this course" "link" in the "//div[@class='card dashboard-card' and contains(.,'Course 5')]" "xpath_element" And I reload the page - And I click on "Display dropdown" "button" in the "Course overview" "block" + And I click on "Display drop-down menu" "button" in the "Course overview" "block" And I click on "List" "link" in the "Course overview" "block" And I reload the page Then "//li[contains(concat(' ', normalize-space(@class), ' '), 'list-group-item') and contains(.,'Course 5')]//span[@data-region='is-favourite' and @aria-hidden='false']" "xpath_element" should exist @@ -53,7 +53,7 @@ Feature: The my overview block allows users to favourite their courses When I click on ".coursemenubtn" "css_element" in the "//div[@class='card dashboard-card' and contains(.,'Course 5')]" "xpath_element" And I click on "Star this course" "link" in the "//div[@class='card dashboard-card' and contains(.,'Course 5')]" "xpath_element" And I reload the page - And I click on "Display dropdown" "button" in the "Course overview" "block" + And I click on "Display drop-down menu" "button" in the "Course overview" "block" And I click on "Summary" "link" in the "Course overview" "block" And I reload the page Then "//div[contains(concat(' ', normalize-space(@class), ' '), 'course-summaryitem') and contains(.,'Course 5')]//span[@data-region='is-favourite' and @aria-hidden='false']" "xpath_element" should exist diff --git a/course/tests/behat/customfields_visibility.feature b/course/tests/behat/customfields_visibility.feature index bc32f62e9f1..e8650a391ac 100644 --- a/course/tests/behat/customfields_visibility.feature +++ b/course/tests/behat/customfields_visibility.feature @@ -47,7 +47,7 @@ Feature: The visibility of fields control where they are displayed And I set the following fields to these values: | Name | Test field | | Short name | testfield | - | Visible to | Not visible | + | Visible to | Nobody | And I press "Save changes" And I log out When I log in as "teacher1" @@ -67,7 +67,7 @@ Feature: The visibility of fields control where they are displayed And I set the following fields to these values: | Name | Test field | | Short name | testfield | - | Visible to | Course editors | + | Visible to | Teachers | And I press "Save changes" And I log out When I log in as "teacher1" diff --git a/customfield/tests/behat/edit_fields_settings.feature b/customfield/tests/behat/edit_fields_settings.feature index 6d9f96c31ac..247f5ceb50b 100644 --- a/customfield/tests/behat/edit_fields_settings.feature +++ b/customfield/tests/behat/edit_fields_settings.feature @@ -108,7 +108,7 @@ Feature: Teachers can edit course custom fields Then I should see "You must supply a value here" in the "Short name" "form_row" And I set the field "Short name" to "short name" And I press "Save changes" - And I should see "Short name can only contain lowercase latin letters, digits and an underscore sign" in the "Short name" "form_row" + And I should see "The short name can only contain alphanumeric lowercase characters and underscores (_)." in the "Short name" "form_row" And I set the field "Short name" to "f1" And I press "Save changes" And I should see "Short name already exists" in the "Short name" "form_row" diff --git a/mod/feedback/tests/behat/coursemapping.feature b/mod/feedback/tests/behat/coursemapping.feature index 540efe8d2f2..a7ee83ad9c4 100644 --- a/mod/feedback/tests/behat/coursemapping.feature +++ b/mod/feedback/tests/behat/coursemapping.feature @@ -50,7 +50,7 @@ Feature: Mapping courses in a feedback And I add a "Multiple choice" question to the feedback with: | Question | this is a simple multiple choice | | Label | multichoicesimple | - | Multiple choice type | Multiple choice - single answer allowed (dropdownlist) | + | Multiple choice type | Multiple choice - single answer allowed (drop-down menu) | | Multiple choice values | option d\noption e\noption f | And I log out And I log in as "teacher" diff --git a/mod/feedback/tests/behat/export_import.feature b/mod/feedback/tests/behat/export_import.feature index 46f501ca2fc..2157ca42d4c 100644 --- a/mod/feedback/tests/behat/export_import.feature +++ b/mod/feedback/tests/behat/export_import.feature @@ -52,7 +52,7 @@ Feature: Exporting and importing feedbacks And I add a "Multiple choice" question to the feedback with: | Question | this is a multiple choice 3 | | Label | multichoice3 | - | Multiple choice type | Multiple choice - single answer allowed (dropdownlist) | + | Multiple choice type | Multiple choice - single answer allowed (drop-down menu) | | Multiple choice values | option g\noption h\noption i | And I add a "Multiple choice (rated)" question to the feedback with: | Question | this is a multiple choice rated | diff --git a/mod/feedback/tests/behat/multichoice.feature b/mod/feedback/tests/behat/multichoice.feature index 0b977934b8d..b6da9c8aa31 100644 --- a/mod/feedback/tests/behat/multichoice.feature +++ b/mod/feedback/tests/behat/multichoice.feature @@ -318,7 +318,7 @@ Feature: Testing multichoice questions in feedback When I add a "Multiple choice" question to the feedback with: | Question | this is a multiple choice 1 | | Label | multichoice1 | - | Multiple choice type | Multiple choice - single answer allowed (dropdownlist) | + | Multiple choice type | Multiple choice - single answer allowed (drop-down menu) | | Multiple choice values | option a\noption b\noption c | And I add a "Label" question to the feedback with: | Contents | this is the first page of the feedback | @@ -326,7 +326,7 @@ Feature: Testing multichoice questions in feedback And I add a "Multiple choice" question to the feedback with: | Question | this is a multiple choice 2 | | Label | multichoice2 | - | Multiple choice type | Multiple choice - single answer allowed (dropdownlist) | + | Multiple choice type | Multiple choice - single answer allowed (drop-down menu) | | Multiple choice values | option d\noption e\noption f | | Required | 1 | And I add a "Label" question to the feedback with: @@ -335,7 +335,7 @@ Feature: Testing multichoice questions in feedback And I add a "Multiple choice" question to the feedback with: | Question | this is a multiple choice 3 | | Label | multichoice3 | - | Multiple choice type | Multiple choice - single answer allowed (dropdownlist) | + | Multiple choice type | Multiple choice - single answer allowed (drop-down menu) | | Multiple choice values | option g\noption h\noption i | | Dependence item | multichoice2 | | Dependence value | option d | diff --git a/mod/feedback/tests/behat/question_types.feature b/mod/feedback/tests/behat/question_types.feature index 78834baafec..0295cec8403 100644 --- a/mod/feedback/tests/behat/question_types.feature +++ b/mod/feedback/tests/behat/question_types.feature @@ -49,7 +49,7 @@ Feature: Test creating different types of feedback questions for anonymous feedb And I add a "Multiple choice" question to the feedback with: | Question | this is a multiple choice 3 | | Label | multichoice3 | - | Multiple choice type | Multiple choice - single answer allowed (dropdownlist) | + | Multiple choice type | Multiple choice - single answer allowed (drop-down menu) | | Multiple choice values | option g\noption h\noption i | And I add a "Multiple choice (rated)" question to the feedback with: | Question | this is a multiple choice rated | diff --git a/mod/feedback/tests/behat/question_types_non_anon.feature b/mod/feedback/tests/behat/question_types_non_anon.feature index 1aad63c9b6c..beb2ebf29d9 100644 --- a/mod/feedback/tests/behat/question_types_non_anon.feature +++ b/mod/feedback/tests/behat/question_types_non_anon.feature @@ -53,7 +53,7 @@ Feature: Test creating different types of feedback questions for non-anonymous f And I add a "Multiple choice" question to the feedback with: | Question | this is a multiple choice 3 | | Label | multichoice3 | - | Multiple choice type | Multiple choice - single answer allowed (dropdownlist) | + | Multiple choice type | Multiple choice - single answer allowed (drop-down menu) | | Multiple choice values | option g\noption h\noption i | And I add a "Multiple choice (rated)" question to the feedback with: | Question | this is a multiple choice rated |