MDL-85678 mod_feedback: a11y Behat coverage for Manage templates page
This commit is contained in:
@@ -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?"
|
||||
|
||||
Reference in New Issue
Block a user