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

Combine both the custom menu & primary navigation renderers

XMLWordPrintable

    • MOODLE_400_STABLE
    • MDL-71148-master-2
    • Hide

      Unit tests provided.

      Manual tests specific for the user menu as some scenarios can't be covered with unit tests.

      Prerequisites:

      1. Download and apply hacky.patch. This will show 2 user menus on the top - the existing and one generated with the new templates

        git apply hacky.patch

      2. A moodle install with a course with a student and an admin.
      3. In config.php, set 'displayloginfailures' to true

      Testing

      1. Check the user menu on the top right, making sure that all the links and images are rendered correctly.
      2. Log in as admin, go to the user menu
      3. Click on the 'Switch role to..'
      4. Toggle between the different roles available
      5. Confirm the old menu matches the new templates as close as possible.
      6. Switch back to the original role by clicking 'Return to my normal role' in the user menu
      7. Repeat #3-#6 with all the roles available.
      8. Switch back to the original role by clicking 'Return to my normal role' in the user menu
      9. Go to the created course's participants
      10. Click on the student's profile link
      11. Click on the 'Log in as' link in the profile page
      12. Confirm the old menu matches the new templates as close as possible.
      13. Log out
      14. On the login page, using the admin account, attempt to login to the account using an incorrect password
      15. Login as admin using the right credentials
      16. Confirm the old menu matches the new templates as close as possible.
      17. When you refresh the page
      18. Confirm the old menu matches the new templates as close as possible.
      Show
      Unit tests provided. Manual tests specific for the user menu as some scenarios can't be covered with unit tests. Prerequisites: Download and apply hacky.patch . This will show 2 user menus on the top - the existing and one generated with the new templates git apply hacky.patch A moodle install with a course with a student and an admin. In config.php, set 'displayloginfailures' to true Testing Check the user menu on the top right, making sure that all the links and images are rendered correctly. Log in as admin, go to the user menu Click on the 'Switch role to..' Toggle between the different roles available Confirm the old menu matches the new templates as close as possible. Switch back to the original role by clicking 'Return to my normal role' in the user menu Repeat #3-#6 with all the roles available. Switch back to the original role by clicking 'Return to my normal role' in the user menu Go to the created course's participants Click on the student's profile link Click on the 'Log in as' link in the profile page Confirm the old menu matches the new templates as close as possible. Log out On the login page, using the admin account, attempt to login to the account using an incorrect password Login as admin using the right credentials Confirm the old menu matches the new templates as close as possible. When you refresh the page Confirm the old menu matches the new templates as close as possible.
    • 3
    • 4.0 Navigation blitz 3, QA blitz, QA blitz 3

      Given the new navigation, We need to be able to fetch the contents of both the primary navigation & custom menu in one array of navigation nodes to assist with rendering.

      This is likely backend work that needs to be addressed and the new call provided to Bas.

      Cheers,

            peterdias Peter Dias
            mathewmay Mathew May
            Mihail Geshoski Mihail Geshoski
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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