Done
Details
Assignee
Kimie KesterKimie KesterReporter
Amelia SuttonAmelia SuttonPriority
TBDDevelopment Team
NoneTestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Kimie Kester
Kimie KesterReporter
Amelia Sutton
Amelia SuttonPriority
Development Team
None
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created August 14, 2023 at 5:47 PM
Updated April 4, 2024 at 12:04 PM
Resolved April 4, 2024 at 12:04 PM
Purpose:
User story statement(s):
As a library staff person,
I want to upload or link a profile picture to a user record
So other staff can verify the user's identity
Scenarios:
Scenario:
Given Users > [some record] > Actions > Edit
When the edit screen is opened
Then under the User Information accordion, a preview of any existing profile picture is displayed to the right of the existing fields, with a dropdown button labeled "Update"
Scenario:
Given Users > [some record] > Actions > Edit
When the "Update" dropdown button under profile picture is selected
Then two options are displayed:
Local file
External URL
Scenario:
Given Users > [some record] > Actions > Edit > "Update" > "Local file"
When a file is selected for upload
Then a modal is displayed
Titled "Preview and Edit"
Showing the uploaded image
Below the image are two sliders, "Zoom" and "Rotate"
Below this there should be a primary button: "Save" and a secondary button "Cancel"
Scenario
Given Users > [some record] > Actions > Edit > "Update"
When "External URL" is selected
Then a modal is displayed:
Titled "Update Profile Picture"
With a prompt: "External URL"
Below the prompt a text box
Below the text box there should be a primary button: "Save" and a secondary button "Cancel"
Scenario
Given Users > [some record] > Actions > Edit > "Update" > "External URL" selected
When an invalid image URL is inputted to the text box and "Save" is selected
Then red error text is displayed below the text box that reads "Invalid image URL" and the modal does not close.
Notes:
See the file upload box for the Date Import app or the Link/Document upload section of the Invoices app invoice edit screen for reference for the upload box.
See https://folio-org.atlassian.net/browse/UIU-2957 for a demo for Scenario 3's modal