mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-64943 lang: Fix regressions in Behat caused by reworded strings
This commit is contained in:
parent
38dc5b9677
commit
60f59e5599
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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 |
|
||||
|
@ -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 |
|
||||
|
@ -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 |
|
||||
|
@ -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 |
|
||||
|
Loading…
x
Reference in New Issue
Block a user