From 6d45a96984feeb2a9ab02b24a85ce3ba87c5dee3 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Thu, 5 Jun 2025 18:24:58 +0800 Subject: [PATCH] MDL-85678 mod_feedback: a11y Behat coverage for Manage templates page --- mod/feedback/tests/behat/templates.feature | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mod/feedback/tests/behat/templates.feature b/mod/feedback/tests/behat/templates.feature index 433a28d99ba..e201843a33d 100644 --- a/mod/feedback/tests/behat/templates.feature +++ b/mod/feedback/tests/behat/templates.feature @@ -159,7 +159,7 @@ Feature: Saving, using and deleting feedback templates And "My course template" "text" should not exist in the ".coursetemplates" "css_element" And "No templates available yet" "text" should exist in the ".coursetemplates" "css_element" - @javascript + @javascript @accessibility Scenario: Manager can delete both course and public templates # Save feedback as both public and course template When I am on the "Learning experience course 1" "feedback activity" page logged in as manager @@ -173,9 +173,10 @@ Feature: Saving, using and deleting feedback templates And I choose "Save as template" in the open action menu And I set the field "Name" to "My course template" And I click on "Save" "button" in the ".modal-dialog" "css_element" - # Delete course template And I navigate to "Templates" in current page administration + And the "region-main" "region" should meet accessibility standards with "best-practice" extra tests And "My course template" "text" should exist in the ".coursetemplates" "css_element" + # Delete course template And I open the action menu in "My course template" "table_row" And I choose "Delete" in the open action menu And I should see "Are you sure you want to delete this template?"