Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-14813 Moodle 3.10 QA
  3. MDLQA-15327

CLONE - 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

        1. MDLQA-15327 - assignment student.png
          100 kB
          Carlos Escobedo
        2. MDLQA-15327 - assignment submission files.png
          121 kB
          Carlos Escobedo
        3. MDLQA-15327 - assignment submitted for grading.png
          106 kB
          Carlos Escobedo
        4. MDLQA-15327 - doc to pdf.png
          164 kB
          Carlos Escobedo
        5. MDLQA-15327 - docx to pdf.png
          163 kB
          Carlos Escobedo
        6. MDLQA-15327 - generating pdf.png
          139 kB
          Carlos Escobedo
        7. MDLQA-15327 - graded.png
          130 kB
          Carlos Escobedo
        8. MDLQA-15327 - oauth2 connect google account.png
          82 kB
          Carlos Escobedo
        9. MDLQA-15327 - ppt to pdf.png
          175 kB
          Carlos Escobedo
        10. MDLQA-15327 - pptx to pdf.png
          176 kB
          Carlos Escobedo
        11. MDLQA-15327 - rtf to pdf.png
          164 kB
          Carlos Escobedo
        12. MDLQA-15327 - test document conversion.png
          46 kB
          Carlos Escobedo
        13. MDLQA-15327 - test view.png
          106 kB
          Carlos Escobedo
        14. MDLQA-15327 - xls to pdf.png
          157 kB
          Carlos Escobedo
        15. MDLQA-15327 - xlsx to pdf.png
          157 kB
          Carlos Escobedo

        Issue Links

          Activity

            People

              cescobedo Carlos Escobedo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: