-
Task
-
Resolution: Fixed
-
Minor
-
4.1.14, 4.3.8, 4.4.4, 4.5
QA test to be automated: MDLQA-16071
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.
Please note: There's coverage for bulk delete in question/bank/deletequestion/tests/behat/delete_question_column.feature and some coverage for bulk move in question/bank/bulkmove/tests/behat/bulk_move.feature, just need to compare the Behat with the QA test and just add the missing steps.
- is blocked by
-
MDL-71378 Make shared question banks more manageable and usable
- Closed