Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-5249 QA tests converted to behat
  3. MDLQA-12264

A user can request a copy of their data

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Open
    • Priority: Minor
    • Affects Version/s: Master copy - DO NOT REPORT TEST RESULTS HERE
    • Fix Version/s: None
    • Component/s: Privacy, User
    • Labels:
      None

      Description

      Test requirements:

      • A site with a Data Protection Officer (DPO) role set up as described in the documentation Data Protection Officer role. A user should be assigned the role of DPO in the system context.
      • The 'Contact Data Protection Office' checkbox to be ticked in 'Privacy settings' in the Site administration.

      You may use the QA testing site for this test, which has a DPO role already set up and a user assigned the role. The site also has the 'Contact Data Protection Office' checkbox ticked.

      1. Log in as an ordinary user and go to your profile page.
      2. Click the 'Data requests' link.
      3. Click the 'New request' button then in the form ensure 'Export all of my personal data' is selected as type, enter a comment, then save changes.
      4. Verify that on the Data requests page, the message 'Your request has been submitted to the site's Data Protection Officer' is displayed and your data request is listed with status 'Pending'.
      5. Click the 'New request' button again, click 'Save changes' and verify that the message 'You already have an ongoing request.' is displayed.
      6. Click the Cancel button then on the Data requests page cancel your data request via the Actions menu.
      7. Verify that your data request is listed with status 'Cancelled'.
      8. Click the 'New request' button again, enter a comment and save changes.
      9. Log out then log in as the DPO.
      10. Verify that you have an export personal data request notification.
      11. Click the link to view the full notification and verify that the comment is correct.
      12. Click the 'Data requests' link and verify that the request is listed with status 'Awaiting approval'.
      13. Verify that there is another request listed with status Cancelled.
      14. For the request awaiting approval, in the actions dropdown try viewing the request then approving it.
      15. Verify that the request is now listed with status Approved.
      16. Log out then log in as the user.
      17. Verify that you have an export personal data request notification saying that your personal data is available for download.
      18. Go to your Data requests page again and verify that your data request is listed with status 'Complete'.
      19. In the Actions dropdown menu select Download.
      20. Verify that a zip file is downloaded.
      21. Repeat steps 8 - 14 but this time as the DPO reject the request.
      22. Log in as the user and go to your Data requests page.
      23. Verify that your data request is listed with status 'Rejected'.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: