bundle exec rake db:seed
- Many Deposits ([email protected])
- No Deposits ([email protected])
- Student Delegate ([email protected])
- Admin User ([email protected])
- Create a local account for yourself using your real email address that you can check
- Log in as yourself
- Verify that you see the welcome page after logging in
- Verify that you receive a welcome email (may not work if you are running the application on your local machine)
- Log out
- Log in as yourself
- Verify that you again see the welcome page
- Click the
Edit my Profile
button at the bottom of the welcome page - Enter your first and last name
- Click the
Save Profile
button - Log out
- Log in as yourself
- Verify that you see the welcome page with a
Click here to hide this welcome page
button - Click the
Click here to hide this welcome page
button - Log out
- Log in as yourself
- Verify that you see the "What are you uploading?" page (not the welcome page)
- Log in as yourself
- Begin creating a new Generic Work
- Verify the form has tabs at the top of the page
- Metadata
- DOI
- Files
- Relationships
- Sharing
- Verify that the visibility pane defaults to "Open Access" visibility
- Verify that the visibility pane does not have a "Lease" option
- Verify that your name (Lastname, Firstname) is auto-populated in the Creator field
- Verify that some fields are required:
- Title
- Creator
- College
- Program or Department
- Description
- License
- Verify that some fields are multi-valued:
- Creator
- Publisher
- Alternate Title
- Subject
- Geographic Subject
- Time Period
- Language
- External Link
- DOIs
- Click on the
DOI
tab - Select the radio button that you already have a DOI
- Click on the
Metadata
tab - Verify that "University of Cincinnati" is displayed in the Publisher field
- Click on the
DOI
tab - Select the radio button that you don't want to create a DOI
- Click on the
Metadata
tab - Verify that the Publisher field is empty
- Click on the
DOI
tab - Select the radio button to create a new DOI
- Click on the
Metadata
tab - Verify that "University of Cincinnati" is displayed in the Publisher field
- Click on the
- Use the License Wizard to select a license
- Enter multiple lines of content into the Description and Notes fields
- Enter content into all of the remaining fields on the form
- Save the work
- Verify that the work saves without requiring files to be attached
- Files
- Edit the work
- Attach a PDF, and Word document, and an image to the work
- Save the work
- Verify that the files are attached and have proper thumbnails
- Note: Thumbnails for Word documents require that LibreOffice is installed on the server
- Edit the work
- Attach a cloud file from Box.com (may not work if you are running the application on your local machine)
- Save the work
- Verify that the cloud file is attached
- Optional: Attempt to attach a file > 3 gigabytes in size and verify it is blocked
- Change the PDF and the image to
private
visibility - Verify that the PDF and image are marked
private
and can only be seen when you are logged in as yourself - Change the work visibility to
University of Cincinnati
and allow the system to update the visibility of all files - Verify that the work and all files have
institution
visibility and can only be seen by logged-in users
- On the Generic Work's show page, click the
Edit
button - Upload another file
- Save the work
- Delete the first file from the work
- Verify that the file is removed
- Creates a child work (you can use the work already in the script as the parent)
- Adds the child work to a collection
- Visit the child work's show page and verify that In Collections and In Parent Work are displaying properly.
- View the Generic Work's show page
- Verify that the license being displayed is the same one you chose with the wizard
- Verify that line breaks are preserved for the Description and Notes fields
- Verify that the appropriate metadata fields and labels are being displayed
- Verify that the appropriate buttons are being displayed (Analytics, Edit, Delete, File Manager, Attach Child, Add to collection, etc.)
- Verify that a DOI is displayed
- Verify that the citation buttons do not display
- Verify that the bottom of the page displays "Permanent link to this page:" followed by the work's hyperlink
- Click on the attached PDF file to view its show page
- Verify there is a link on the page to download Adobe Reader
- Verify that the bottom of the file page displays "Permanent link to this page:" followed by the file's hyperlink
- Use the File Manager to change the order of files and select the image file as the representative for the work
- Verify the image displays in the image viewer
- Delete the work
- Verify that the work and attached files can no longer be found
- Log in as yourself
- Begin creating a new batch of Generic Works
- Verify the form has tabs at the top of the page
- Files
- Metadata
- Relationships
- Sharing
- Verify that the visibility pane defaults to "Open Access" visibility
- Verify that the visibility pane does not have a "Lease" option
- Add a few files
- Click on the
Metadata
tab - Verify that your name (Firstname, Lastname) is auto-populated in the Creator field
- Verify that some fields are required:
- Creator
- College
- Program or Department
- Description
- License
- Verify that some fields are multi-valued:
- Creator
- Publisher
- Alternate Title
- Subject
- Geographic Subject
- Time Period
- Language
- External Link
- Enter content into all of the remaining fields on the form
- Save the work
- Verify that a unique work is created for each of the files added
- Verify each of the works has the metadata you added
- Visit
/Dashboard
- Click on
Works
- Select a few of your works and click the
Edit Selected
button - Verify that the Batch Edit page lists only multi-valued fields
- Edit each of the fields
- Save changes
- Verify that each work retains the edits you made
- Log in as an Admin User
- Create a new collection type named "Test"
- Log in as Many Deposits
- Begin creating a new collection of type "Test"
- Describe the collection using every metadata field
- Save the collection
- Set the collection to
private
visibility and save it - Verify that the collection can only be seen when you are logged in as yourself
- Add branding (a banner) to the collection and save it
- Add at least ten works to the collection
- Change the collection visibility to
public
and verify in can be seen by non-logged in users
- Visit
/dashboard
- Click on
Collections
- Click on one of your existing collections
- Click the
Add new collection to this Collection
link - Fill out all of the metadata fields and save the collection
- Visit the public view of the parent collection
- Verify that the subcollection is listed on the collection's page
- View the collection's show page
- Verify that the appropriate metadata fields and labels are being displayed
- Verify that the banner is being displayed
- Verify all of the collection's works are listed
- Remove some works from the collection
- Verify that the works are no longer listed in the collection
- Delete the collection
- Verify that the collection can no longer be found
- Log in as Many Deposits
- Add Student Delegate as your proxy
- Verify Student Delegate shows as a current proxy on your dashboard
- Log in as Student Delegate
- Begin creating a new Article work
- Verify that "Delegate, Student" shows in the Author field
- Verify that the College and Department fields contain the Student Delegate's College and Department
- Change
On behalf of
to your own account - Verify that the Author field changes to "Deposits, Many"
- Verify that the College and Department fields change to Many Deposit's College and Department
- Fill out the required fields and save the work
- Click the
Edit
button for the Article work - Verify on the edit form that the
On behalf of
dropdown is not displayed - Log in as Many Deposits
- Verify that the Article work shows on the works dashboard
- verify that the Article work can be edited by Many Deposits
- Remove Student Delegate as your proxy
- Log in as Student Delegate
- Verify that the Article work no longer shows in the works dashboard
- Verify that the Article work can no longer be edited by Student Delegate
- Log in as Many Deposits
- Create a private Student Work with many files attached
- Verify that the Advisor field is required on Student Works
- Add No Deposits as an editor
- Log in as No Deposits
- Navigate to the Student Work you created
- Verify that you have edit access to the work
- Edit some metadata and save the work
- Remove an existing file from the work and add a new one
- Add the work to a collection
- Log in as Many Deposits
- Edit the profile for Many Deposits and fill out all fields
- Verify that the
Department
,UC affiliation
, andEmail
fields cannot be edited - Save your changes
- Verify all fields display on your profile page
- Edit the profile and add a profile picture
- Save your changes
- Verify that the image is displayed on the profile page
- Highlight one of your works
- Verify the highlighted work displays on your profile page
- Remove the highlighted work from your profile
- Visit
/users
- Verify that Many Deposits is listed on the page
- Verify that No Deposits is not listed on the page
- Verify that the correct college and department is listed for users
- Verify that the correct number of works created is listed for users
- Verify that Many Deposits has an avatar displayed
- Use the search box on the page to find "many"
- Verify that Many Deposits is found and listed
- Log in as an admin
- Visit
/users
- Verify that you can see all users listed
- Log in as yourself
- Create a Document work with a visibility of "University of Cincinnati"
- Create an Image work with a visibility of "Open Access"
- Log in as Many Deposits
- Create a Dataset work with a visibility of "Private"
- Visit
/catalog
- Verify that the Document, Image, and Dataset works show in the search results
- Log out
- Visit
/catalog
- Verify that only the Image work shows in the search results
- Log in as Many Deposits
- Visit
/catalog
- Verify that the Document, Image, and Dataset works show in the search results
- Log in as yourself
- Visit
/catalog
- Verify that the Document and Image works show in the search results
- Log in as Many Deposits
- Visit
/catalog
- Verify that collections sort to the top of the search results list by default
- Verify that works in the search results list show the following fields
- Type
- Description/Abstract
- Creator/Author
- Submitter
- Date Uploaded
- Date Modified
- Date Created
- License
- Sort the results by
title A-Z
- Verify that the search results are sorted by title
- Sort the results by
title Z-A
- Verify that the search results are sorted reverse by title
- Verify that all facets display
- Type of Work
- Creator/Author
- Subject
- College
- Department (displays only after the
College
facet has been selected) - Language
- Publisher
- Date Created
- Collections
- Search for the title of the Document work
- Verify that the Document work shows in the search results
- Select one of the facets
- Verify that selecting a facet doesn't cause the original search to be lost
- Visit
/feed.rss
- Verify that the RSS feed displays the most recently added 10 works
- Visit
/sitemap.xml
- Verify that the sitemap is displayed and includes works and collections
- Log in as yourself
- Begin creating a new Generic Work
- Click on the
Files
tab - Add several files and have one of them be an EICAR test virus file
- Verify that the infected file is identified (may not work if you are running the application on your local machine)
- Click on the
Metadata
tab - Fill out the required metadata
- Save the work
- Verify that all files except the infected file are attached
- Verify that the interface can be switched to Spanish or Chinese
- Verify that the interface can be switched back to English
- Log in as yourself
- Visit
/contact
- Verify that your name and email address are auto-populated on the form
- Verify the form does not display a Google CAPTCHA
- Fill out the form and submit
- Verify the email is received by [email protected] recipients
- Log out
- Visit
/contact
- Verify that none of the fields are auto-populated
- Verify the form does display a Google CAPTCHA (may not work if you are running the application on your local machine)
- Fill out the form and submit
- Verify the email is received by [email protected] recipients
- Log in as yourself
- Visit
/classify_concerns/new
- Verify that "ETD" is not one of the types of work available
- Log in as admin user
- Visit
/classify_concerns/new
- Begin creating a new ETD Work
- Verify that the Creator field is not auto-populated
- Verify that Advisor is a required field
- Verify that Publisher is not a multi-valued field
- Verify that the Degree and Degree Date fields exist
- Fill out the required metadata fields
- Save the work
- Log in as yourself
- Create a Media Work with several files and an embargo date for tomorrow
- Next day: Verify you received an email overnight that your work is now available
- Next day: Verify that the work and attached files are now "Open Access"