Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-58138

Bulk editing of activities completion rules in a course

    Details

    • Testing Instructions:
      Hide
      Test 1
      1. Create a course with enabled completion tracking, enrol a teacher
      2. As a teacher go to "Course completion" under the course settings cog, make sure you see three tabs there
      3. In the second tab (default completion) change defaults for some activities, together or separately, make sure they are saved and displayed correctly
      4. Create activities, make sure the defaults apply
      5. Go to "Course completion" and bulk edit completion for existing activities (third tab), make sure they are correctly updated
      6. Copy URLs of each page in this interface and try to open it as a student, make sure the permission error is displayed
      7. Check interface in both Clean and Boost themes. In Clean make sure that the "Course completion" item under "Course administration" is always highlighted on all pages and forms.
      Test 2 (Capabilities test)
      1. Revoke capability Update course settings (moodle:course/update) from the teacher role
      2. As a teacher make sure you can still see "Course completion" in the menu but inside you can only see "Defaults" and "Bulk"
      3. Quick test that forms for changing default and bulk completion work
      4. As admin revoke capability moodle/course:manageactivities from the teacher in the course
      5. As a teacher make sure that no completion screens can be accessed
      6. As admin give back capability moodle/course:manageactivities to the teacher INSIDE individual modules
      7. As a teacher make sure that you can't change defaults but you can bulk edit completion on the activities that you can edit
      8. As admin restore manageactivities capability in the course to the teacher role but revoke one or several of modules' "addinstance" capabilities
      9. Make sure teacher sees exactly the same list of activities on the "defaults" screen as in the activity chooser
      10. As admin revoke capability to edit some of the modules in the course from the teacher role
      11. On "bulk" screen teacher should be able to bulk update completion only on the same activities as he'd be able to edit on the course page
      Test 3 resetting completion state
      1. Open two browsers with student and a teacher for easier testing
      2. As a teacher create assignment activity with manual completion
      3. As a student mark this activity as completed
      4. As a teacher use bulk edit completion form to change the completion expected date for this activity
      5. As a student make sure the activity is still marked as completed
      6. As a teacher use bulk edit completion form to change the completion to automatic based on submission
      7. As a student make sure the activity is NOT marked as completed
      8. As a student submit an assignment (activity should now be completed)
      9. As a teacher use bulk edit completion form to change the completion expected date for this activity
      10. As a student make sure the activity is still listed as completed
      Show
      Test 1 Create a course with enabled completion tracking, enrol a teacher As a teacher go to "Course completion" under the course settings cog, make sure you see three tabs there In the second tab (default completion) change defaults for some activities, together or separately, make sure they are saved and displayed correctly Create activities, make sure the defaults apply Go to "Course completion" and bulk edit completion for existing activities (third tab), make sure they are correctly updated Copy URLs of each page in this interface and try to open it as a student, make sure the permission error is displayed Check interface in both Clean and Boost themes. In Clean make sure that the "Course completion" item under "Course administration" is always highlighted on all pages and forms. Test 2 (Capabilities test) Revoke capability Update course settings (moodle:course/update) from the teacher role As a teacher make sure you can still see "Course completion" in the menu but inside you can only see "Defaults" and "Bulk" Quick test that forms for changing default and bulk completion work As admin revoke capability moodle/course:manageactivities from the teacher in the course As a teacher make sure that no completion screens can be accessed As admin give back capability moodle/course:manageactivities to the teacher INSIDE individual modules As a teacher make sure that you can't change defaults but you can bulk edit completion on the activities that you can edit As admin restore manageactivities capability in the course to the teacher role but revoke one or several of modules' "addinstance" capabilities Make sure teacher sees exactly the same list of activities on the "defaults" screen as in the activity chooser As admin revoke capability to edit some of the modules in the course from the teacher role On "bulk" screen teacher should be able to bulk update completion only on the same activities as he'd be able to edit on the course page Test 3 resetting completion state Open two browsers with student and a teacher for easier testing As a teacher create assignment activity with manual completion As a student mark this activity as completed As a teacher use bulk edit completion form to change the completion expected date for this activity As a student make sure the activity is still marked as completed As a teacher use bulk edit completion form to change the completion to automatic based on submission As a student make sure the activity is NOT marked as completed As a student submit an assignment (activity should now be completed) As a teacher use bulk edit completion form to change the completion expected date for this activity As a student make sure the activity is still listed as completed
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Epic Name:
      Bulk activity completion
    • Pull from Repository:
    • Pull Master Branch:
      MDL-58138-master-v2

      Description

      This is part of MUA project MUA-26, to help make the dashboard better
      mockups https://xd.adobe.com/view/c14d0f75-b0d3-4d1b-b9c5-9711c6f54bb0/
      more discussion and screenshots on UX-20

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  2 Vote for this issue
                  Watchers:
                  14 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    15/May/17