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

Create New "Recently Accessed Items" block

    XMLWordPrintable

Details

    • MOODLE_36_STABLE
    • MOODLE_36_STABLE
    • MDL-63063-master-block
    • Hide

      Boost and Clean themes

      Please test the following tests on both the Boost and Clean themes.
      Please also test these on each of the supported browsers.

      Setup

      Users and enrolments

      1. Log in as admin
      2. Create 3 courses, c1, c2 and c3
      3. Add several activities/resources (items) in each course: a forum, a chat, a glossary and a page
      4. Create a user, s1
        1. Enrol s1 as a student in all 3 courses

      Tests

      No items accessed

      1. Log in as s1
      2. Add the "Recently accessed items" block to the Dashboard if not present
      3. Confirm you see "No recent items" in the Recently accessed items block

      Items accessed

      1. Go to courses c1 and c2 and access to each activity/resource
      2. Navigate to the dashboard
      3. Confirm you see the last 9 items you visited during step four in the Recently accessed items block
      4. Go to course c2 again and access again to at least one activity you accessed in step 1
      5. Navigate to the dashboard
      6. Confirm no new item card was added
      7. Go to course c3 and access to each activity/resource
      8. Navigate to the dashboard
      9. Confirm only 9 item cards are shown
      10. Confirm some course c1 activities are not shown (if in step 4 c1 activities were accessed before c2 activities)

      Items removed

      1. Log is as admin
      2. Go to course c1
      3. Removed one the activities/resources accessed by user s1 in the previous section (one that appeared in the Recently accessed items)
      4. Run cron (needed for triggering the module delete event):

        php admin/cli/cron.php
        

      5. Log in as s1
      6. Confirm the removed module is not present in the Recently accessed activities block
      Show
      Boost and Clean themes Please test the following tests on both the Boost and Clean themes. Please also test these on each of the supported browsers . Setup Users and enrolments Log in as admin Create 3 courses, c1, c2 and c3 Add several activities/resources (items) in each course: a forum, a chat, a glossary and a page Create a user, s1 Enrol s1 as a student in all 3 courses Tests No items accessed Log in as s1 Add the "Recently accessed items" block to the Dashboard if not present Confirm you see "No recent items" in the Recently accessed items block Items accessed Go to courses c1 and c2 and access to each activity/resource Navigate to the dashboard Confirm you see the last 9 items you visited during step four in the Recently accessed items block Go to course c2 again and access again to at least one activity you accessed in step 1 Navigate to the dashboard Confirm no new item card was added Go to course c3 and access to each activity/resource Navigate to the dashboard Confirm only 9 item cards are shown Confirm  some course c1 activities are not shown (if in step 4 c1 activities were accessed before c2 activities) Items removed Log is as admin Go to course c1 Removed one the activities/resources accessed by user s1 in the previous section (one that appeared in the Recently accessed items) Run cron (needed for triggering the module delete event): php admin/cli/cron.php Log in as s1 Confirm the removed module is not present in the Recently accessed activities block

    Description

      • 3 rows x 3 column max layout
      • Reduce columns and number of activities as screen narrows
      • Display upto a maximum of 9 activities
      • Include activity icons

      Attachments

        Issue Links

          Activity

            People

              vmdef Victor Déniz Falcón
              acorado Alberto Corado (Inactive)
              Bas Brands Bas Brands
              Damyon Wiese Damyon Wiese
              Damyon Wiese Damyon Wiese
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Dec/18