-
Functional Test
-
Minor
-
Moodle 4.3
This test requires admin access to the site.
Setup
- Log in as admin
- Create a new user
- Create a course
- Enrol user in course as student
- Click on users name in participants list to view course profile
- Press Miscellaneous > Notes
- Add a new course note for the user
- Fill in Content field
- Context: course
- Add a new personal note for the user
- Fill in Content field
- Context: personal
Create report
- Navigate to Reports in user menu
- Create new report from Notes report source
- Include default setup
- Confirm the following columns are present and correct for each note:
- Recipient full name
- Context
- Course full name
- Content
- Add Author > Full name column
- Confirm column shows the name of the note author
- Open report conditions
- Set Recipient > Full name condition:
- Does not contain: [First name of test user]
- Apply
- Confirm report shows Nothing to display
- Change condition to Contains and apply
- Confirm report shows test user notes
- Set Course > Course full name condition:
- Is equal to: [Name of course]
- Apply
- Confirm report shows only the course note from that course
- Add Author > Full name condition
- Does not contain: Admin
- Apply
- Confirm report shows Nothing to display
- Change condition to Contains and apply
- Confirm report shows only the course note authored by admin