Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-72278-master -
Hide
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
ShowTesting 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
Description
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)
Attachments
- mod_icontent.zip
- 752 kB
Issue Links
- is duplicated by
-
MDL-72518 TOC not shown in Book module using Boost theme in Moodle 4.0dev (Build: 20210902)
-
- Closed
-