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

Create a course setting for displaying activity completion conditions

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Log in as admin and go to a course.
      2. Create a new choice activity with the name "Best food" and description "You choose".
      3. Edit course settings and expand "Completion tracking".
      4. CONFIRM a new setting is present Show completion conditions and that by default it is set to Yes.
      5. Change "Completion tracking" setting to No.
      6. CONFIRM the new field is not visible any more.
      7. Change the "Enable completion tracking" field to Yes.
      8. CONFIRM the new field is now visible.
      9. Set the new "showcompletionconditions" field to Yes and save.
      10. Visit the choice activity.
      11. Open the actions cog menu and select "Edit settings".
      12. Expand the "Activity completion" section.
      13. Set Completion tracking to Do not indicate activity completion.
      14. Press "Save and display".
      15. CONFIRM there is no completion information displayed between the "Best food" heading and "You choose" text.
      16. Again click "Edit settings" from the actions menu.
      17. Under "Activity completion", change "Completion tracking" to Students can manually mark the activity as completed.
      18. Press "Save and display".
      19. CONFIRM you now see a Mark as done button between the "Best food" heading and "You choose" text.
      20. Again click "Edit settings" from the actions menu.
      21. Under "Activity completion", change "Completion tracking" to Show activity as complete when conditions are met and tick the Show as complete when user makes a choice checkbox.
      22. Press "Save and display".
      23. CONFIRM you now see a "To do: Make a choice" badge between the "Best food" heading and "You choose" text.
      24. Navigate back to "Edit course settings" and expand "Completion tracking".
      25. Set the "showcompletionconditions" field to No and save.
      26. Return to the choice activity and CONFIRM you no longer see the "To do: Make a choice" badge.
      27. click "Edit settings" from the actions menu.
      28. Under "Activity completion", change "Completion tracking" to Students can manually mark the activity as completed.
      29. Press "Save and display".
      30. CONFIRM you now see a Mark as done button.
      31. Navigate back to "Edit course settings" and expand "Completion tracking".
      32. Change the "Enable completion tracking" field to No.
      33. Return to the choice activity and CONFIRM you no longer see the Mark as done button.
      Show
      Log in as admin and go to a course. Create a new choice activity with the name "Best food" and description "You choose". Edit course settings and expand "Completion tracking". CONFIRM a new setting is present Show completion conditions and that by default it is set to Yes . Change "Completion tracking" setting to No . CONFIRM the new field is not visible any more. Change the "Enable completion tracking" field to Yes . CONFIRM the new field is now visible. Set the new "showcompletionconditions" field to Yes and save. Visit the choice activity. Open the actions cog menu and select "Edit settings". Expand the "Activity completion" section. Set Completion tracking to Do not indicate activity completion . Press "Save and display". CONFIRM there is no completion information displayed between the "Best food" heading and "You choose" text. Again click "Edit settings" from the actions menu. Under "Activity completion", change "Completion tracking" to Students can manually mark the activity as completed . Press "Save and display". CONFIRM you now see a Mark as done button between the "Best food" heading and "You choose" text. Again click "Edit settings" from the actions menu. Under "Activity completion", change "Completion tracking" to Show activity as complete when conditions are met and tick the Show as complete when user makes a choice checkbox. Press "Save and display". CONFIRM you now see a " To do: Make a choice" badge between the "Best food" heading and "You choose" text. Navigate back to " Edit course settings " and expand "Completion tracking". Set the "showcompletionconditions" field to No and save. Return to the choice activity and CONFIRM you no longer see the " To do: Make a choice" badge. click "Edit settings" from the actions menu. Under "Activity completion", change "Completion tracking" to Students can manually mark the activity as completed . Press "Save and display". CONFIRM you now see a Mark as done button. Navigate back to "Edit course settings" and expand "Completion tracking". Change the "Enable completion tracking" field to No . Return to the choice activity and CONFIRM you no longer see the Mark as done button.
    • Affected Branches:
      MOODLE_311_STABLE
    • Pull from Repository:
    • Pull 3.11 Branch:
      MDL-70781-311
    • Pull Master Branch:
      MDL-70781-master
    • Story Points:
      1
    • Sprint:
      Internationals - 3.11 Sprint 6, Internationals - 3.11 Sprint 7, Internationals - 3.11 Sprint 8

      Description

      User story

      As a course creator/editing teacher
      I want to be able to configure the course to show completion requirements
      So that I can decide if I want the completion requirements to be shown

      Acceptance criteria
      1. Given I log in as an editing teacher/course creator, when I am at a course’s settings page, then I should see a setting that I can use to specify if I want the completion requirements to be shown in the course or not.
      2. Given completion requirements are set to be shown, when I go to a course's homepage, then I should see the completion requirements for the activities with automatic completion requirements.
      3. Given completion requirements are not set to be shown, when I go to a course's homepage, then I should not see the completion requirements for the activities with automatic completion requirements.
      4. Given completion requirements are set to be shown, when I view an activity with automatic completion requirements, then I should see the activity's completion requirements.
      5. Given completion requirements are not set to be shown, when I view an activity with automatic completion requirements, then I should not see the activity's completion requirements.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lameze Simey Lameze
              Reporter:
              jpataleta Jun Pataleta
              Peer reviewer:
              Michael Hawkins
              Participants:
              Component watchers:
              Sam Marshall, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 2 days, 3 hours, 20 minutes
                  1w 2d 3h 20m