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

Fake blocks now in drawer should be made visible on first visit

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.0
    • 4.0
    • Themes
    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-72278-master
    • Hide

      Testing setup

      1. For these test create a new course called 'Drawerstest'
      2. Add the navigation block to the course
      3. In the course create a quiz with at least 2 question
      4. Create 2 books with at least 2 chapters
      5. Enrol 2 test students in the course s1 and s2
      6. Install the mod_icontent (Content Pages) plugin from the attached file ***
      7. Create at least one page in the "Content pages"

      *** The plugin in the Moodle database uses the "grade" string deprecated and might display some deprecation messages.

      Test if the drawer open preference still works

      1. Login as admin, set the browser size to approximately 1000px wide / 900px high
      2. Navigate to the 'Drawerstest' course
      3. Open the blocks drawer
      4. Navigate to the Participants page in the course
      5. Verify the drawer stays open
      6. Close the drawer and navigate back to the course page
      7. Verify the drawer stays closed

      Test if the drawer preference is not stored on small devices

      1. Login as admin, set the browser size to approximately 800px wide / 900px high
      2. Navigate to the 'Drawerstest' course
      3. Open the blocks drawer
      4. Navigate to the Participants page using the navigation block
      5. Verify the drawer is closed
      6. Open the blocks drawer
      7. Navigate the the course page using the navigation block
      8. Verify the drawer is closed

      Test if fake blocks show on first visit for quiz

      1. Login as student s1, set the browser size to approximately 1000px wide / 900px high
      2. Navigate to the 'Drawerstest' course
      3. Verify the blocks drawer is closed
      4. Go to the quiz and click 'Attempt quiz now'
      5. Verify the blocks drawer opens on page load
      6. Navigate back to the course
      7. Verify the blocks drawer is closed
      8. Navigate to the quiz and continue your attempt
      9. Verify the blocks drawer is closed

      Test if fake blocks show on first visit for quiz

      1. Still logged in from the previous test with a browser size of 1000px wide / 900px high, Navigate to the first book
      2. Verify the blocks drawer opens on page load
      3. Navigate back to the course
      4. Verify the blocks drawer is closed
      5. Navigate to the second book
      6. Verify the blocks drawer opens on page load
      7. reload the page
      8. Verify the blocks drawer does not open

      Test if fake blocks show on the third-party plugin Content Pages

      1. Still logged in from the previous test with a browser size of 1000px wide / 900px high, Navigate to the content page activity
      2. Verify the blocks drawer opens on page load
      3. Reload the page
      4. Verify the blocks drawer is closed

      Test if fake blocks do not auto-open on small devices

      1. Login as s2, set the browser size to approximately 800px wide / 900px high
      2. Navigate to the quiz in the 'Drawerstest' course
      3. Verify the blocks drawer stays closed
      4. Navigate to the course page
      5. Open the blocks drawer
      6. Use the navigation block to navigate to the first book in the course
      7. Open the drawer to navigate to the 2nd chapters
      8. On the second book chapter page confirm the drawer stays closed
      Show
      Testing setup For these test create a new course called 'Drawerstest' Add the navigation block to the course In the course create a quiz with at least 2 question Create 2 books with at least 2 chapters Enrol 2 test students in the course s1 and s2 Install the mod_icontent (Content Pages) plugin from the attached file  *** Create at least one page in the "Content pages" *** The plugin in the Moodle database uses the "grade" string deprecated and might display some deprecation messages. Test if the drawer open preference still works Login as admin, set the browser size to approximately 1000px wide / 900px high Navigate to the 'Drawerstest' course Open the blocks drawer Navigate to the Participants page in the course Verify the drawer stays open Close the drawer and navigate back to the course page Verify the drawer stays closed Test if the drawer preference is not stored on small devices Login as admin, set the browser size to approximately 800px wide / 900px high Navigate to the 'Drawerstest' course Open the blocks drawer Navigate to the Participants page using the navigation block Verify the drawer is closed Open the blocks drawer Navigate the the course page using the navigation block Verify the drawer is closed Test if fake blocks show on first visit for quiz Login as student s1, set the browser size to approximately 1000px wide / 900px high Navigate to the 'Drawerstest' course Verify the blocks drawer is closed Go to the quiz and click 'Attempt quiz now' Verify the blocks drawer opens on page load Navigate back to the course Verify the blocks drawer is closed Navigate to the quiz and continue your attempt Verify the blocks drawer is closed Test if fake blocks show on first visit for quiz Still logged in from the previous test with a browser size of 1000px wide / 900px high, Navigate to the first book Verify the blocks drawer opens on page load Navigate back to the course Verify the blocks drawer is closed Navigate to the second book Verify the blocks drawer opens on page load reload the page Verify the blocks drawer does not open Test if fake blocks show on the third-party plugin Content Pages Still logged in from the previous test with a browser size of 1000px wide / 900px high, Navigate to the content page activity Verify the blocks drawer opens on page load Reload the page Verify the blocks drawer is closed Test if fake blocks do not auto-open on small devices Login as s2, set the browser size to approximately 800px wide / 900px high Navigate to the quiz in the 'Drawerstest' course Verify the blocks drawer stays closed Navigate to the course page Open the blocks drawer Use the navigation block to navigate to the first book in the course Open the drawer to navigate to the 2nd chapters On the second book chapter page confirm the drawer stays closed

      Fake blocks are often required navigation for an activity

      To ensure users do not miss the block we should find a solution to make it visible (at least on first visit)

        1. MDL-72278_Test if fake blocks do not auto-open on small devices_1.png
          MDL-72278_Test if fake blocks do not auto-open on small devices_1.png
          101 kB
        2. MDL-72278_Test if fake blocks do not auto-open on small devices_2.png
          MDL-72278_Test if fake blocks do not auto-open on small devices_2.png
          98 kB
        3. MDL-72278_Test if fake blocks show on first visit for book_1.png
          MDL-72278_Test if fake blocks show on first visit for book_1.png
          102 kB
        4. MDL-72278_Test if fake blocks show on first visit for book_2.png
          MDL-72278_Test if fake blocks show on first visit for book_2.png
          94 kB
        5. MDL-72278_Test if fake blocks show on first visit for book_3.png
          MDL-72278_Test if fake blocks show on first visit for book_3.png
          105 kB
        6. MDL-72278_Test if fake blocks show on first visit for book_4.png
          MDL-72278_Test if fake blocks show on first visit for book_4.png
          100 kB
        7. MDL-72278_Test if fake blocks show on first visit for quiz_1.png
          MDL-72278_Test if fake blocks show on first visit for quiz_1.png
          95 kB
        8. MDL-72278_Test if fake blocks show on first visit for quiz_2.png
          MDL-72278_Test if fake blocks show on first visit for quiz_2.png
          113 kB
        9. MDL-72278_Test if fake blocks show on first visit for quiz_3.png
          MDL-72278_Test if fake blocks show on first visit for quiz_3.png
          94 kB
        10. MDL-72278_Test if fake blocks show on first visit for quiz_4.png
          MDL-72278_Test if fake blocks show on first visit for quiz_4.png
          114 kB
        11. MDL-72278_Test if fake blocks show on the student quiz.jpg
          MDL-72278_Test if fake blocks show on the student quiz.jpg
          41 kB
        12. MDL-72278_Test if the drawer open preference still works_1.png
          MDL-72278_Test if the drawer open preference still works_1.png
          118 kB
        13. MDL-72278_Test if the drawer open preference still works_2.png
          MDL-72278_Test if the drawer open preference still works_2.png
          103 kB
        14. MDL-72278_Test if the drawer preference is not stored on small devices_1.png
          MDL-72278_Test if the drawer preference is not stored on small devices_1.png
          110 kB
        15. MDL-72278_Test if the drawer preference is not stored on small devices_2.png
          MDL-72278_Test if the drawer preference is not stored on small devices_2.png
          83 kB
        16. MDL-72278_Third-party plugin_1.png
          MDL-72278_Third-party plugin_1.png
          99 kB
        17. MDL-72278_Third-party plugin_2.png
          MDL-72278_Third-party plugin_2.png
          96 kB
        18. mod_icontent.zip
          752 kB
        19. mod_studentquiz_moodle311_2021071300.zip
          1.43 MB

            basbrands Bas Brands
            basbrands Bas Brands
            Carlos Escobedo Carlos Escobedo
            Jun Pataleta Jun Pataleta
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 4 hours, 50 minutes
                1d 4h 50m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.