-
Functional Test
-
Minor
-
Moodle 4.3
-
None
Set up
This test requires a question bank containing various types of question.
The question bank should contain different question categories.
Bulk delete questions
- Go to a question bank and filter it to a category by using the "Select a category:" select element.
- Verify that as long as you haven't checked any question when clicking the "With selected▴" button you can't choose any action.
- Check some checkboxes to the left hand side of the questions.
- Click the "With selected▴" button and choose the "Delete" action.
- Verify you are asked "Are you absolutely sure you want to delete the following questions?" with a list of the questions you chose beforehand.
- Accept with the button "Delete"
- Verify the selected questions have been deleted.
Bulk move questions to another category
- Go to a question bank and filter it to a category by using the "Select a category:" select element.
- Verify that as long as you haven't checked any question when clicking the "With selected▴" button you can't choose any action.
- Check some checkboxes to the left hand side of the questions.
- Click the "With selected▴" button and choose the "Move to ..." action.
- On the following page "Move the selected questions", do choose a question bank category you want to move the questions to.
- Accept with the button "Move to ..."
- Verify you are redirected to that question bank category and the selected questions have been moved.