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

A user can request for their personal data to be deleted

    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 select 'Delete all of my personal data' and 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, and try making another request to delete all of your personal data.
      6. Verify that the message 'You already have an ongoing request.' is displayed.
      7. Log out then log in as the DPO.
      8. Verify that you have a delete personal data request notification.
      9. Click the link to view the full notification and verify that the comment is correct.
      10. Click the 'Data requests' link and verify that the request is listed with status 'Awaiting approval'.
      11. In the actions dropdown try viewing the request then approving it.
      12. Verify that the request is now listed with status Approved.
      13. Log out then try logging in again the user.
      14. Verify that the message 'Invalid login, please try again' is displayed, and that you are unable to log in (as the account has been deleted).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: