Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16759 Moodle 4.1 QA
  3. MDLQA-17178

CLONE - Google Drive can be used to convert documents to pdf for assignment submission annotation

XMLWordPrintable

      This test requires Ghostscript to be installed on the server and a Google client ID and secret and email address for use in testing. It also requires an assignment activity with file submissions allowed.

      1. Log in as an admin and set up and configure the OAuth 2 Google service, as described in the documentation OAuth2 Services and OAuth 2 Google service.
      2. Go to 'Document converters' in the Site administration and enable the Google Drive document converter.
      3. In the settings, select Google as the OAuth 2 service, then save changes.
      4. Click the link 'Test this converter is working properly' and make sure you see a message about the system account not being connected.
      5. Go back to OAuth2 Google service settings and connect the system account again. Note the request to manage files with Google Drive.
      6. Now, go back to the setting page for the Google Drive converter.
      7. Click the link 'Test this converter is working properly' and make sure a message is displayed stating that the document converter is correctly configured.
      8. Click the link 'Test document conversion' and make sure that a pdf file is displayed.
      9. Disable any other converters for the next part.
      10. Create a new assignment submissiond and verify that 'File submission' and 'Annotate PDF' are checked.
      11. Log in as a student and submit a rtf, doc, xls, docx, xlsx, ppt or pptx file.
      12. Log in as admin (or as a teacher) and try grading the assignment submission.
      13. Check that the file is correctly converted to pdf and can be annotated.
      14. Repeat the last few steps with at least one other file type assignment submission.

        1. convert_doc.png
          convert_doc.png
          189 kB
        2. convert_docx.png
          convert_docx.png
          229 kB
        3. convert_ppt.png
          convert_ppt.png
          331 kB
        4. convert_xls.png
          convert_xls.png
          146 kB
        5. gcp_drive_api.png
          gcp_drive_api.png
          51 kB
        6. gcp_oauth.png
          gcp_oauth.png
          53 kB
        7. oauth2_services.png
          oauth2_services.png
          49 kB
        8. test_document_converter1.png
          test_document_converter1.png
          18 kB
        9. test_result.png
          test_result.png
          97 kB

            meirza.arson@moodle.com Meirza
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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