From c6dd080532c095e899e1e39db16319e4fedc542c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mudr=C3=A1k?= Date: Thu, 22 May 2025 21:10:00 +0200 Subject: [PATCH] MDL-85507 lang: Use fixed strings in tests, too --- course/tests/behat/course_overview.feature | 10 +++++----- .../premium/tests/behat/tiny_premium_settings.feature | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/course/tests/behat/course_overview.feature b/course/tests/behat/course_overview.feature index 638609591e2..55f3498f683 100644 --- a/course/tests/behat/course_overview.feature +++ b/course/tests/behat/course_overview.feature @@ -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: diff --git a/lib/editor/tiny/plugins/premium/tests/behat/tiny_premium_settings.feature b/lib/editor/tiny/plugins/premium/tests/behat/tiny_premium_settings.feature index 2f08f629bc5..1232f7e5ae4 100644 --- a/lib/editor/tiny/plugins/premium/tests/behat/tiny_premium_settings.feature +++ b/lib/editor/tiny/plugins/premium/tests/behat/tiny_premium_settings.feature @@ -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."