Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16122 Moodle 4.0 QA
  3. MDLQA-16673

CLONE - A user can add files from Google Drive using a Workspace Google account




      This test requires a site with an OAuth 2 Google service and the Google Drive repository enabled.

      The QA testing site may be used for running this test, though you'll need admin access (see the QA testing guide for details of how to request admin access) in order to set up the Google service and enable the Google Drive repository. Begin just after the hourly reset to give yourself plenty of time to complete the test! Alternatively, you can use your own test site.

      This test also requires a Workspace Google Drive account which contains shared drives with a number of files for use during the test.

      1. Log in as a student and go to a forum.
      2. Add a new discussion topic and click the Add button to add an attachment.
      3. Choose Google Drive in the file picker then click the Login button.
      4. Grant access to your Google account.
      5. You should be able to see 'My Drive' and 'Shared Drives' folders. Click on the 'Shared      Drives' folder.
      6. Now you should be able to see folders representing every existing shared drive. Click on one of these folders (make sure it contains files)
      7. Select a file then click the 'Post to forum' button.
      8. Check that the Google Drive file is shown as an attachment to the post.
      9. Try downloading the file.


        1. 1.Createproject.png
          39 kB
          Sara Arjona (@sarjona)
        2. 2.Configurerepository.png
          71 kB
          Sara Arjona (@sarjona)
        3. 3.Grantrepository.png
          97 kB
          Sara Arjona (@sarjona)
        4. 4.GoogleDriveFolders.png
          42 kB
          Sara Arjona (@sarjona)
        5. 5.GoogleDriveFiles.png
          42 kB
          Sara Arjona (@sarjona)
        6. 6.Attachment.png
          32 kB
          Sara Arjona (@sarjona)
        7. 7.DownloadAttachment.png
          59 kB
          Sara Arjona (@sarjona)
        8. moodle.com_project.png
          30 kB
          Sara Arjona (@sarjona)

        Issue Links



              sarjona Sara Arjona (@sarjona)
              0 Vote for this issue
              0 Start watching this issue