diff --git a/CHANGES.md b/CHANGES.md index 807c7992b6993a23fdd547d9067f4f9c1da2c7f7..8caf6c743b48fa817aebf3be9391f6af79e6b1d8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,7 @@ Changes ### Unreleased +* 2021-08-16 - Bugfix: Fix Behat test which checks the 'Hide link to the Moodle docs' feature which broke since the last release. * 2021-08-16 - Bugfix: In-course settings have been shown below course information banners instead of above them. * 2021-08-16 - Improvement: Add in-course settings only to HTML tree of the setting is enabled. * 2021-08-16 - Adjust activity_settings_incourse.mustache template based on changes in settings_link_page.mustache diff --git a/tests/behat/theme_boost_campus_footer_layout_settings.feature b/tests/behat/theme_boost_campus_footer_layout_settings.feature index b7e47ea9fdac6f21ef5c96269dcb0928546eb99f..117d37cef031b9b567fc1fba607ce9aa522f320d 100644 --- a/tests/behat/theme_boost_campus_footer_layout_settings.feature +++ b/tests/behat/theme_boost_campus_footer_layout_settings.feature @@ -129,7 +129,7 @@ Feature: Configuring the theme_boost_campus plugin for the "Footer Layout Settin # Given the following config values are set as admin: # | config | value | plugin | # | footerhidehelplink | 1 | theme_boost_campus | - Scenario: Enable Hide link to the Moodle docs" + Scenario: Enable "Hide link to the Moodle docs" When I log in as "admin" And I navigate to "Appearance > Boost Campus" in site administration And I click on "Footer Layout Settings" "link" @@ -138,7 +138,7 @@ Feature: Configuring the theme_boost_campus plugin for the "Footer Layout Settin And I log out When I log in as "teacher1" And I am on "Course 1" course homepage - Then I should not see "Moodle Docs for this page" in the "page-footer" "region" + Then "#page-footer p.helplink a[href^=\"https://docs.moodle.org/\"]" "css_element" should not be visible # This scenario needs full browser support only for this Behat test to pass, otherwise javascript would not be needed. @javascript @@ -155,7 +155,7 @@ Feature: Configuring the theme_boost_campus plugin for the "Footer Layout Settin And I log out When I log in as "teacher1" And I am on "Course 1" course homepage - Then I should see "Moodle Docs for this page" in the "page-footer" "region" + Then "#page-footer p.helplink a[href^=\"https://docs.moodle.org/\"]" "css_element" should be visible # This scenario needs full browser support only for this Behat test to pass, otherwise javascript would not be needed. @javascript