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

CLONE - An admin can specify the default formats for Google Drive files

    XMLWordPrintable

Details

    Description

      This test requires a Google client ID and secret for configuring the OAuth 2 Google service and a Google Drive account containing a number of files of different types.

      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. Enable the Google Drive repository.
      3. Log out and log in as an ordinary user and go to your Private files area.
      4. Try adding a file from Google Drive and verify you can see all your files.
      5. Add a Google doc file.
      6. Verify that it is saved as rtf (the default).
      7. Try downloading the file and verify that it is downloaded correctly as a rtf file.
      8. Log in as admin again, go to the Google Drive repository settings and change the default document import format to docx and save.
      9. Log in as the user again, go back to your Private files area and add another Google doc file.
      10. Verify this time that it is saved as docx.
      11. Try downloading the file and verify that it is downloaded correctly as a docx file.
      12. Repeat  steps 5-11 with any or all of: drawing, presentation and spreadsheet. Verify that they are saved as the defaults (pdf, pptx and xls respectively) then change those defaults to other available formats of your choice and verify they are saved as expected.

      Attachments

        1. Screenshot from 2022-03-30 20-26-55.png
          201 kB
          Anthony Borrow
        2. Screenshot from 2022-03-30 20-27-22.png
          159 kB
          Anthony Borrow
        3. Screenshot from 2022-03-30 20-27-29.png
          144 kB
          Anthony Borrow
        4. Screenshot from 2022-03-30 20-46-47.png
          56 kB
          Anthony Borrow
        5. step_10.png
          133 kB
          Huong Nguyen
        6. step_11.png
          107 kB
          Huong Nguyen
        7. step_12_docs_pdf.png
          100 kB
          Huong Nguyen
        8. step_12_docs_txt.png
          102 kB
          Huong Nguyen
        9. step_12_draw_pdf.png
          97 kB
          Huong Nguyen
        10. step_12_draw_svg.png
          98 kB
          Huong Nguyen
        11. step_12_odt.png
          97 kB
          Huong Nguyen
        12. step_12_sheets_xlsx.png
          101 kB
          Huong Nguyen
        13. step_12_slide_pptx.png
          104 kB
          Huong Nguyen
        14. step_4.png
          688 kB
          Huong Nguyen
        15. step_6.png
          131 kB
          Huong Nguyen
        16. step_7.png
          66 kB
          Huong Nguyen

        Issue Links

          Activity

            People

              huongn@moodle.com Huong Nguyen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: