mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-71580 lang: Fix reworded strings in tests
This commit is contained in:
parent
c8dc7bc942
commit
03402e3c5d
7 changed files with 23 additions and 23 deletions
|
@ -32,8 +32,8 @@ Feature: Brickfield activityresults
|
|||
And I run the scheduled task "\tool_brickfield\task\bulk_process_caches"
|
||||
And I navigate to "Accessibility toolkit" in current page administration
|
||||
And I should see "Error details: course Course 1"
|
||||
And I should see "Overall page content length"
|
||||
And I should see "\"Bold\" (b) elements should not be used"
|
||||
And I should see "The overall page content length"
|
||||
And I should see "Bold (b) elements should not be used"
|
||||
And I should see "Link text should be descriptive"
|
||||
And I follow "Activity breakdown"
|
||||
Then I should see "Results per activity: course Course 1"
|
||||
|
|
|
@ -3,7 +3,7 @@ information provided here is intended especially for developers.
|
|||
|
||||
=== 3.11 ===
|
||||
|
||||
* New setting called "Include override permissions" has been implemented. The default
|
||||
* New setting called "Include permission overrides" has been implemented. The default
|
||||
settings is OFF for import, and ON for restore.
|
||||
|
||||
=== 3.10 ===
|
||||
|
|
|
@ -39,7 +39,7 @@ Feature: Import course's contents into another course
|
|||
| enrol/manual:enrol | Allow | teacher | Course | C1 |
|
||||
And I log in as "teacher1"
|
||||
When I import "Course 1" course into "Course 2" course using this options:
|
||||
| Initial | Include override permissions | 1 |
|
||||
| Initial | Include permission overrides | 1 |
|
||||
And I navigate to "Users > Permissions" in current page administration
|
||||
Then I should see "Non-editing teacher (1)"
|
||||
And I set the field "Advanced role override" to "Non-editing teacher (1)"
|
||||
|
@ -52,6 +52,6 @@ Feature: Import course's contents into another course
|
|||
| enrol/manual:enrol | Allow | teacher | Course | C1 |
|
||||
And I log in as "teacher1"
|
||||
When I import "Course 1" course into "Course 2" course using this options:
|
||||
| Initial | Include override permissions | 0 |
|
||||
| Initial | Include permission overrides | 0 |
|
||||
And I navigate to "Users > Permissions" in current page administration
|
||||
Then I should see "Non-editing teacher (0)"
|
||||
|
|
|
@ -253,7 +253,7 @@ Feature: Restore Moodle 2 course backups
|
|||
And I backup "Course 1" course using this options:
|
||||
| Confirmation | Filename | test_backup.mbz |
|
||||
When I restore "test_backup.mbz" backup into a new course using this options:
|
||||
| Settings | Include override permissions | 1 |
|
||||
| Settings | Include permission overrides | 1 |
|
||||
Then I navigate to "Users > Permissions" in current page administration
|
||||
And I should see "Non-editing teacher (1)"
|
||||
And I set the field "Advanced role override" to "Non-editing teacher (1)"
|
||||
|
@ -267,6 +267,6 @@ Feature: Restore Moodle 2 course backups
|
|||
And I backup "Course 1" course using this options:
|
||||
| Confirmation | Filename | test_backup.mbz |
|
||||
When I restore "test_backup.mbz" backup into a new course using this options:
|
||||
| Settings | Include override permissions | 0 |
|
||||
| Settings | Include permission overrides | 0 |
|
||||
Then I navigate to "Users > Permissions" in current page administration
|
||||
And I should see "Non-editing teacher (0)"
|
||||
|
|
|
@ -41,9 +41,9 @@ Feature: Block accessreview results
|
|||
And I should see "1" in the "Link" "table_row"
|
||||
# We created one text issue, and the standard Behat course generator creates another (too much content).
|
||||
And I should see "2" in the "Text" "table_row"
|
||||
And "View Brickfield accessibility toolkit" "icon" should exist in the "Accessibility review" "block"
|
||||
And "Toggle Brickfield accessibility heatmap" "icon" should exist in the "Accessibility review" "block"
|
||||
And "Download Brickfield accessibility summary report" "icon" should exist in the "Accessibility review" "block"
|
||||
And "View accessibility toolkit" "icon" should exist in the "Accessibility review" "block"
|
||||
And "Toggle accessibility heatmap" "icon" should exist in the "Accessibility review" "block"
|
||||
And "Download accessibility summary report" "icon" should exist in the "Accessibility review" "block"
|
||||
|
||||
Scenario: Toggle highlighting on/off
|
||||
Given I log in as "admin"
|
||||
|
@ -61,7 +61,7 @@ Feature: Block accessreview results
|
|||
And I run the scheduled task "\tool_brickfield\task\bulk_process_courses"
|
||||
And I run the scheduled task "\tool_brickfield\task\bulk_process_caches"
|
||||
And I reload the page
|
||||
And I click on "Toggle Brickfield accessibility heatmap" "icon"
|
||||
And I click on "Toggle accessibility heatmap" "icon"
|
||||
And ".block_accessreview_view" "css_element" should be visible
|
||||
And I click on "Toggle Brickfield accessibility heatmap" "icon"
|
||||
And I click on "Toggle accessibility heatmap" "icon"
|
||||
And ".block_accessreview_view" "css_element" should not be visible
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue