From 8d4bef06c389c5c5c040626d74a53387f522d429 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Wed, 22 Oct 2025 23:49:44 +0800 Subject: [PATCH] MDL-86840 forum: Add accessibility Behat coverage * Add accessibility Behat coverage on the Advanced forum search page. --- mod/forum/tests/behat/advanced_search.feature | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/forum/tests/behat/advanced_search.feature b/mod/forum/tests/behat/advanced_search.feature index c1e1ee7fcf8..b3fa6dbb6ff 100644 --- a/mod/forum/tests/behat/advanced_search.feature +++ b/mod/forum/tests/behat/advanced_search.feature @@ -90,7 +90,7 @@ Feature: The forum search allows users to perform advanced searches for forum po Then I should not see "My message" And I should see "Your subjective" - @javascript + @javascript @accessibility Scenario: Perform an advanced search using tags Given I am on the "Announcements" "forum activity" page logged in as teacher1 And I follow "My subject" @@ -105,6 +105,7 @@ Feature: The forum search allows users to perform advanced searches for forum po When I press "Search" Then I should see "My subject" And I should not see "Your subjective" + And the "region-main" "region" should meet accessibility standards with "best-practice" extra tests @javascript Scenario: Perform an advanced search on starred discussions without text