From 661740ae5caa885a155ab720228951c8a5337f3f Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Thu, 21 Aug 2025 17:32:32 +0800 Subject: [PATCH] MDL-81455 behat: Add accessibility coverage to default start page tests --- public/theme/boost/tests/behat/welcome_to_moodle.feature | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/theme/boost/tests/behat/welcome_to_moodle.feature b/public/theme/boost/tests/behat/welcome_to_moodle.feature index abd6c6fcc3e..ae9c5bbf605 100644 --- a/public/theme/boost/tests/behat/welcome_to_moodle.feature +++ b/public/theme/boost/tests/behat/welcome_to_moodle.feature @@ -4,6 +4,7 @@ Feature: Welcome message on boost As a User I need to see a welcome message on the first page + @accessibility Scenario: Login and be welcomed on the homepage Given the following config values are set as admin: | defaulthomepage | 0 | @@ -13,7 +14,9 @@ Feature: Welcome message on boost And I reload the page And I should not see "Welcome, Admin!" in the "page-header" "region" And I should see "Acceptance test site" in the "page-header" "region" + And the page should meet accessibility standards + @accessibility Scenario: Login and be welcomed on the dashboard Given the following config values are set as admin: | defaulthomepage | 1 | @@ -23,7 +26,9 @@ Feature: Welcome message on boost And I reload the page And I should not see "Welcome, Admin!" in the "page-header" "region" And I should see "Dashboard" in the "page-header" "region" + And the page should meet accessibility standards with "best-practice" extra tests + @accessibility Scenario: Login and be welcomed on the my courses page Given the following config values are set as admin: | defaulthomepage | 3 | @@ -33,3 +38,4 @@ Feature: Welcome message on boost And I reload the page And I should not see "Welcome, Admin!" in the "page-header" "region" And I should see "My courses" in the "page-header" "region" + And the page should meet accessibility standards