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?"