Details
Description
- Log in as a teacher and create a quiz activity.
- Click "Edit quiz"
- Click "Add▾" "+ a new question".
- Create a question of each type with question status "Ready".
- Add another previously created question to the quiz by clicking "Add▾" "+ from question bank", selecting it and clicking the "Add selected questions to the quiz" button.
- Try to add the same question to the quiz again by clicking "Add▾" "+ from question bank", selecting it and clicking the "Add selected questions to the quiz" button and check that the question is not added twice.
- After clicking "Add▾" "+ from question bank", click the select all checkbox to select all available questions and click the "Add selected questions to quiz button". Check that only the questions that weren't already in the quiz were added.
- Preview the quiz. Ensure that the quiz is displayed correctly.
- Login as a student and attempt the quiz.
- Login as teacher, edit the quiz. Verify that there is a message saying you cannot add or remove questions because the quiz has been attempted.