Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-18925 Moodle 4.5 QA
  3. MDLQA-19296

CLONE - An admin can enable QR code access to the site

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Minor Minor
    • Moodle 4.5
    • Moodle 4.5
    • Mobile, User
    • None

      This test requires admin access and a Moodle site with Pro/Premium App subscription, such as the QA testing site. If the site is behind a proxy, the setting reverseproxyignore needs to be configured (e.g. with the IP range 10.0.0.0/8) to make the feature work.

      If you'd like to use the QA testing site for running the test, please see the QA testing guide for details of how to request admin access. Begin just after the hourly reset to give yourself plenty of time to complete the test!

      The test also requires a mobile device with the Moodle app and a QR code reader app installed. Please mention in a comment the type of mobile device used.

      1. Log in as an admin, go to Site administration / General / Advanced features and make sure that "Enable web services for mobile devices" is ticked (so mobile app access is enabled
      2. Go to Site administration / Mobile app / Mobile authentication and make sure that:
        1. 'QR code with automatic login' is set as QR code access.
        2. 'QR authentication same IP check' setting is disabled.
      3. Log out then log in as an ordinary user.
      4. Go to your profile page (via the user menu top right) and check that there is a Moodle app section with a heading 'QR code for mobile app access'.
      5. Click the button 'View QR code' and check that a QR code is displayed.
      6. Scan the QR code using the QR code reader on your mobile device.
      7. Check that if you open the link, you are automatically logged in to the site in the Moodle app.
      8. Log out then log in again as the admin.
      9. Go to Site administration / Mobile app / Mobile authentication and set QR code access to 'QR code with site URL' then save changes.
      10. Log out then log in as the ordinary user.
      11. Go to your profile page and check that there is a Moodle app section with a heading 'QR code for mobile app access' and a QR code.
      12. Scan the QR code using the QR code reader on your mobile device.
      13. Check that the text scanned is moodlemobile://YOUR_SITE_URL
      14. Check that if you open the link, the site URL is filled in in the Moodle app.

        1. MDLQA-19296.png
          MDLQA-19296.png
          36 kB
        2. MDLQA-19296 1.jpg
          MDLQA-19296 1.jpg
          74 kB
        3. MDLQA-19296 2.jpg
          MDLQA-19296 2.jpg
          87 kB
        4. MDLQA-19296 3.jpg
          MDLQA-19296 3.jpg
          50 kB
        5. MDLQA-19296 IP mismatch.jpg
          MDLQA-19296 IP mismatch.jpg
          69 kB
        6. qa_12_47_37.png
          qa_12_47_37.png
          132 kB
        7. qa_12_48_12.png
          qa_12_48_12.png
          153 kB
        8. qa_12_48_55.png
          qa_12_48_55.png
          129 kB
        9. qa_12_49_28.png
          qa_12_49_28.png
          132 kB
        10. qa_12_54_04.png
          qa_12_54_04.png
          132 kB
        11. qa_13_01_08.png
          qa_13_01_08.png
          196 kB

            lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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