Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-1 Moodle QA testing
  3. MDLQA-10973

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

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: