This test requires an assignment with a student submission. The student should have pop-up notification and email checked (both for online and offline) for "Assignment student notifications" in their messaging settings. The student's email should be one which can be checked.
1. Login as a teacher and access the assignment.
2. Follow the 'View/grade all submissions' link and click the Grade link for the student.
3. Add a grade and feedback and click to save changes.
4. Run the cron by browsing to yourmoodlesite.org/admin/cron.php e.g. http://qa.moodle.net/admin/cron.php
5. Login as the student and check that they receive a popup notification that their assignment submission has been graded.
6. Check that the student also receives email notification.