Skip to content

Scholar 3.0 (Hyrax) Test Script

Kyle Lawhorn edited this page Jul 21, 2017 · 13 revisions

These tasks are usually performed on http://scholar-qa.uc.edu after a deployment.

Users

Create Article

  1. Log in as self
  2. Create article with private access controls
  3. describe using every field
  4. add a PDF
  5. add a word doc (doc/docx)
  6. add an image
  7. verify it works as expected

Edit Article

  1. Edit the article
  2. Change the PDF's visibility to Private
  3. Change the word doc's visibility to public
  4. Change the image's visibility to Private
  5. Save article. Click 'Update Manually' when prompted.
  6. Edit the article
  7. Change article's overall visibility to Public.
  8. Save article. Click 'Yes please.' when prompted.
  9. Wait a moment for background workers to process. Refresh page.
  10. Verify all attached files' visibility changes to public.
  11. Edit the article
  12. Remove the first file
  13. Save article
  14. Edit the article
  15. Add to Collection
  16. Add External Link
  17. Update Related Works
  18. Save article

View Article

  1. Verify all metadata displays correctly
  2. Delete Work

Create Collection and Share

  1. Log in as self
  2. Create a collection
  3. Add a title, description, creator
  4. Set access control to Your institution
  5. Create another collection
  6. Add a title, description, creator
  7. Set access control to Public
  8. Create another collection
  9. Add a title, description, creator
  10. Set access control to private
  11. Add at least 10 items to each collections, a mix of your own content and others
  12. Log out
  13. Verify you can discover the publically accessible but not the other two
  14. Verify that the items are listed alphabetically.
  15. Login as Professor Nodeposits
  16. Verify you can discover the publically accessible, the Your institution but not the private
  17. Log in as self
  18. Verify you can discover all three
  19. Navigate to one of your collections
  20. Edit the access controls
  21. Verify access controls
  22. Delete several items from the collection
  23. Delete a collection
  24. Verify collection is not listed

Profile Curation

  1. Log in as self
  2. Change your profile picture
  3. Add a highlighted work to your profile
  4. Remove the highlighted work from your profile

Proxy

  1. Add "Professor Manydeposits" as a proxy to your account:
  2. Log in as Professor Manydeposits
  3. Add a work as Manydeposits
  4. Make sure the Author field is listed as Manydeposits, Professor.
  5. Add "Student Delegate" as a proxy to Professor Manydeposit's account
  6. Log in as Student Delegate
  7. Verify you can edit Professor Manydeposits' work
  8. Student Delegate should NOT be able to edit your work
  9. As Student Delegate - Add work on behalf of Manydeposits
  10. Log in as Manydeposits
  11. Verify the work is listed under your works
  12. Verify Manydeposits is listed as a contributor
  13. Edit the work, add a file
  14. Remove Student Delegate from your proxies
  15. Log in as Student Delegate
  16. Verify Student Delegate does not have access to Manydeposit's work (BUG #56)
  17. Verify Student Delegate does not have access to your work (BUG #499)
  18. Log in as yourself
  19. Remove Professor Manydeposits from your proxies

Collaborate on Private Work

  1. Log in as Professor Manydeposits
  2. Create a private work with many files attached
  3. Add Professor Nodeposits as an editor
  4. Log in as Professor Nodeposits
  5. Navigate to the work just created
  6. Edit metadata
  7. Replace an existing file
  8. Add relationships

Administrative Actions

  1. Log in as the Administrator account
  2. Verify you see an edit button on results in the index view
  3. Choose a work to edit that is not your own
  4. Edit description of that work
  5. Verify the edits persist
  6. Change the access control settings to private
  7. Verify you can still access a private item
  8. Edit the item/change the access control settings back
  9. Add yourself (not repo manager, but your acct) as an editor to work
  10. Log in as yourself
  11. Navigate to the item in link 14
  12. Verify you can access/edit the item
  13. Log in as Repository Manager
  14. Navigate to a collection that is not owned by you
  15. Edit the collection description and access control settings
  16. Verify the edits persist
  17. Navigate to a work that is not owned by Repository Manager
  18. Add a new file
  19. Delete a previous file
  20. Verify changes persist

Search and Discovery

  1. Test next and previous page buttons in search results
  2. Verify works and collections that are open access are discoverable via search and browse while logged out
  3. Verify works and collections that are not your own "Your institution" are discoverable via search and browse while logged in.
  4. Verify works and collections that have "Your institution" access rights are NOT discoverable via search or browse while logged out.
  5. Verify that works and collections that are not your own, but are marked as private are not discoverable via search or browse when you are logged in
  6. Verify that works and collections that are marked as private are not discoverable via search or browse when you are logged out.
  7. Verify that profile sections do not show up in search results
  8. Run a search that returns more than 1 work. Verify that selecting a facet does not cause your initial search to be lost. (Do this both logged in and logged out)
  9. Browse by Works and change the sort option to something other than relevance. Verify that the sort option is retained when you page forward or back. (Do this both logged in and logged out)

Design and Layout

  1. Check for changes in the UC (black) menu bar
  2. Re-size browser window to test responsiveness
  3. Test different browsers and platforms (Chrome, Firefox, IE, Android, iOS, etc.)
Clone this wiki locally