-
Functional Test
-
Minor
-
Moodle 4.1
This test case is an exploratory test case about the newly introduced possibility to add comments to questions either directly in the question list (in the question bank) or in the question preview. So please feel free to try anything you like and not just the test steps!
This test requires
- a Moodle course and
- two enrolled teachers (teacher A, teacher B)
- Log in to your Moodle course as teacher A
- Go to question bank (More > Question Bank)
- Add question1 (you may choose any question type you like) and save
- Check for the number in the comments column. It should say "0"
- Add a comment by clicking on the number in the "Comments" column and close
- Preview question1 (Edit > Preview)
- Expected result: You should see the comment you just added to question1
- Write a second comment to question1 and save.
- Close the preview.
- Expected result: You should now be back on the question list in the question bank
- Check for the number of comments in the "Comments" column for question1.
- Expected result: It should say "2"
- Click on the number in the "Comments" column
- Expected result: You should see the comment you just added to question1.
- Close the comments
- Log out as teacher A
- Log in as teacher B
- Go the your course and the question bank (More > Question bank)
- Have a look at question1
- Expected result: the "Comments" column should say "2"
- Click on the number in the "Comments" column
- Expected result: You should see the comments added by teacher A
- Add another comment and close
- Preview question1 (Edit > Preview)
- Expected result: You should see 2 comments added by teacher A and your comment added to question1