Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17933 Moodle 4.3 QA
  3. MDLQA-18069

CLONE - A user can add files from Flickr

    XMLWordPrintable

Details

    Description

      The QA testing site may be used for running this test, though you'll need admin access (see the QA testing guide for details of how to request admin access) in order to enable the Flickr repository. Begin just after the hourly reset to give yourself plenty of time to complete the test! Alternatively, you can use your own test site.

      Prerequisites

      1. Obtain a Flickr account for use in testing.
      2. Ensure the Flickr repository is enabled and configured with an API key for both test and secret just for Test 1.

      Test 1: A user can add files from Flickr

      • This test requires a public server (or ngrok) because Flickr does a callback to the server.
      • Enable the Flickr repository on the Moodle site and configure it with the necessary API key and secret.

      1. Log in as a student and navigate to a forum.
      2. Add a new discussion topic and click the "Add" button to add an attachment.
      3. Choose "Flickr" in the file picker and click the "Login" button.
      4. Grant access to your Flickr account.
      5. Select an image from your Flickr account and click the "Post to forum" button.
      6. Verify that the image is displayed in the forum post.

      Test 2: A user can add files from Flickr Public

      • Enable the Flickr Public repository on the Moodle site and configure it with the required API key for the second test.

      1. Log in as a student and navigate to a forum.
      2. Add a new discussion topic and click the "Add" button to add an attachment.
      3. Choose "Flickr Public" in the file picker.
      4. Search for any Flickr file using all the search fields and find a file.
      5. Select a file and click the "Post to forum" button.
      6. Verify that the Flickr file is displayed in the forum post.

      Note: If you encounter an 'Oauth 1.0 error' during testing, try clicking the repository link or reloading the page a few times to make the Flickr authentication work (see MDL-59645 for details).

      Attachments

        1. 2_flickr_public.png
          2_flickr_public.png
          35 kB
        2. 2_flickr_public_images.png
          2_flickr_public_images.png
          163 kB
        3. 2_flick_public_post_to_forum.png
          2_flick_public_post_to_forum.png
          3.68 MB
        4. 1_flickr.png
          1_flickr.png
          37 kB
        5. 1_flickr_post_to_forum.png
          1_flickr_post_to_forum.png
          2.65 MB
        6. 1_flickr_login.png
          1_flickr_login.png
          22 kB
        7. 1_flickr_images.png
          1_flickr_images.png
          52 kB

        Issue Links

          Activity

            People

              meirza.arson@moodle.com Meirza
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

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