MDL-85507 lang: Use fixed strings in tests, too

This commit is contained in:
David Mudrák
2025-05-22 21:10:00 +02:00
parent c2e7dc8e1e
commit c6dd080532
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -80,13 +80,13 @@ Feature: Users can access the course activities overview page
And I should see "Assignments" in the "assign_overview_collapsible" "region"
And I should see "Forums" in the "forum_overview_collapsible" "region"
And I should not see "Test assignment name" in the "assign_overview_collapsible" "region"
And I should not see "Forum overview page" in the "forum_overview_collapsible" "region"
And I should not see "Forum overview" in the "forum_overview_collapsible" "region"
When I click on "Expand" "link" in the "assign_overview_collapsible" "region"
Then I should see "Test assignment name" in the "assign_overview_collapsible" "region"
And I should not see "Forum overview page" in the "forum_overview_collapsible" "region"
And I should not see "Forum overview" in the "forum_overview_collapsible" "region"
And I click on "Collapse" "link" in the "assign_overview_collapsible" "region"
And I should not see "Test assignment name" in the "assign_overview_collapsible" "region"
And I should not see "Forum overview page" in the "forum_overview_collapsible" "region"
And I should not see "Forum overview" in the "forum_overview_collapsible" "region"
Scenario: Course overview shows the course present activity types
Given the following "activities" exist:
@@ -258,13 +258,13 @@ Feature: Users can access the course activities overview page
| wiki | C1 | Activity 2 |
| assign | C1 | Activity 3 |
When I am on the "Course 1" "course > activities > wiki" page logged in as "student1"
And I should see "Wiki overview page"
And I should see "Wiki overview"
And I follow "Wiki overview"
And I should see "Activity 1"
And I should see "Activity 2"
# Check activities with integration do not show the link.
And I am on the "Course 1" "course > activities > assign" page
And I should not see "Assignment overview page"
And I should not see "Assignment overview"
Scenario: Activities overview provide completion information to the student
Given the following "activities" exist:
@@ -26,4 +26,4 @@ Feature: Check the features of the TinyMCE Premium settings
Scenario: I see a notification when I have both the premium and default accessibility checkers enabled
When I click on "Enable Accessibility Checker" "link"
Then I should see "Accessibility Checker enabled."
And I should see "The premium Accessibility Checker will override the default Accessibility Checker for users who have access to it."
And I should see "The TinyMCE Premium Accessibility Checker will override the default Accessibility Checker for users who have access to it."