This test requires a course containing at least one label and at least one activity.
- Log in as teacher, go to the course page then turn editing on.
- Attempt to delete a label.
- Check that the popup asks to confirm deletion 'Are you sure you want to delete this Label?'
- Choose OK and confirm that the label is no longer present.
- Attempt to delete an activity and confirm that the popup asks to confirm deletion, specifying the activity name e.g. 'Are you sure you want to delete the Glossary "Course Glossary"?'
- Choose OK and confirm that the activity is no longer present.
- Refresh the page and confirm that your changes are preserved.