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

CLONE - A teacher can annotate a Google doc submitted as a controlled link

XMLWordPrintable

      This test requires three regular Google accounts (non-organizational), one for the site, one for the student and one for the teacher.

      Note: It is important to log out of all Google accounts between the different stages in this test otherwise Google will open the document using whatever is the first account in the list of accounts, and even if you have edit access for another account it will appear read-only until you switch users.

      1. Log in as an admin and set up and configure the OAuth 2 Google service with a client ID and secret, as described in the documentation OAuth2 Services and OAuth 2 Google service.
      2. Enable the OAuth2 authentication plugin.
      3. Enable the Google Drive repository, making sure it is connected to the Google service.
      4. Set the supported files to "Internal and External".
      5. Set the "Default return type" to "External (only links stored in Moodle)".
      6. Go again to the OAuth2 services page, connect the account to a site Google account and consent the access to Google drive.
      7. Edit the default teacher role permissions and add the capability "mod/assign:editothersubmission".
      8. As a teacher, create an assignment that allows file submissions.
      9. Log out of all Google accounts.
      10. Log in as a student, select a document from your Google account and select 'Create an access controlled link to the file'.
      11. Log out of all Google accounts.
      12. Log in as the teacher. Access the assignment. Click on the link. Verify that you are prompted to log in to your Google account.
      13. Log in with a different Google account than the one used to upload the student's submission. Verify you can edit the student's document.
      14. Make some changes, such as adding text, to the student's document.
      15. Log out of all Google accounts.
      16. Log in as the student, access your assignment and verify you see the changes that the teacher made in the returned Google doc. Note that it is not yet possible for a student to see any comments that the teacher made (MDL-58831).
      17. As the student, go to your personal Google drive and verify the original document has not been altered.

        1. MDLQA-16564_10.png
          MDLQA-16564_10.png
          101 kB
        2. MDLQA-16564_12A.png
          MDLQA-16564_12A.png
          102 kB
        3. MDLQA-16564_12B.png
          MDLQA-16564_12B.png
          65 kB
        4. MDLQA-16564_13_14.png
          MDLQA-16564_13_14.png
          34 kB
        5. MDLQA-16564_16A.png
          MDLQA-16564_16A.png
          105 kB
        6. MDLQA-16564_16B.png
          MDLQA-16564_16B.png
          8 kB
        7. MDLQA-16564_17.png
          MDLQA-16564_17.png
          32 kB
        8. Screenshot from 2022-04-02 23-14-42.png
          Screenshot from 2022-04-02 23-14-42.png
          33 kB
        9. Screenshot from 2022-04-02 23-45-16.png
          Screenshot from 2022-04-02 23-45-16.png
          8 kB
        10. Screenshot from 2022-04-02 23-48-50.png
          Screenshot from 2022-04-02 23-48-50.png
          11 kB
        11. Screenshot from 2022-04-03 00-03-57.png
          Screenshot from 2022-04-03 00-03-57.png
          226 kB
        12. Screenshot from 2022-04-03 00-04-15.png
          Screenshot from 2022-04-03 00-04-15.png
          219 kB
        13. Screenshot from 2022-04-03 00-04-30.png
          Screenshot from 2022-04-03 00-04-30.png
          67 kB
        14. Screenshot from 2022-04-03 00-05-00.png
          Screenshot from 2022-04-03 00-05-00.png
          81 kB
        15. Screenshot from 2022-04-03 00-06-32.png
          Screenshot from 2022-04-03 00-06-32.png
          51 kB
        16. Screenshot from 2022-04-03 00-24-15.png
          Screenshot from 2022-04-03 00-24-15.png
          84 kB
        17. Screenshot from 2022-04-06 17-28-08.png
          Screenshot from 2022-04-06 17-28-08.png
          172 kB
        18. Screenshot from 2022-04-06 17-28-15.png
          Screenshot from 2022-04-06 17-28-15.png
          70 kB
        19. Screenshot from 2022-04-06 17-45-28.png
          Screenshot from 2022-04-06 17-45-28.png
          105 kB
        20. Screenshot from 2022-04-06 17-51-10.png
          Screenshot from 2022-04-06 17-51-10.png
          117 kB

            aborrow Anthony Borrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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