-
Functional Test
-
Minor
-
None
-
Original - DO NOT REPORT TEST RESULTS HERE
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).
- has a non-specific relationship to
-
MDL-72614 Remove Flickr plugins from core
- Open