From bca2a8ad97ec13cfe5f1bed3be0c053dc2ef14a7 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Wed, 18 Mar 2026 17:41:19 +0800 Subject: [PATCH] MDL-81241 theme_boost: Accessibility test for the footer region links --- .../boost/tests/behat/help_popover.feature | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 public/theme/boost/tests/behat/help_popover.feature diff --git a/public/theme/boost/tests/behat/help_popover.feature b/public/theme/boost/tests/behat/help_popover.feature new file mode 100644 index 00000000000..5c1ca601bfe --- /dev/null +++ b/public/theme/boost/tests/behat/help_popover.feature @@ -0,0 +1,19 @@ +@theme_boost +Feature: Using the help popover + As a user who wants to use the help popover + The help popover must be accessible + + Background: + Given the following config values are set as admin: + | sitepolicyhandler | tool_policy | + And the following policies exist: + | Name | Revision | Content | Summary | Status | + | This site policy | | full text2 | short text2 | active | + + @javascript @accessibility + Scenario: Checking the policies link in the footer popover + Given I am on site homepage + And I click on "Continue" "link" + When I click on "Show footer" "button" in the "page-footer" "region" + Then I should see "Policies" in the "page-footer" "region" + And the page should meet accessibility standards with "best-practice" extra tests