Content
General info
The "Attachments" sub-tab, located next to the Notes sub-tab, allows users to manage files related to a company. Users can add new attachments by clicking on a link labeled "attach the file" and selecting a file from their computer. The attachments will appear at the bottom of the list. The list will be scrollable if it contains more attachments than can be displayed on the screen. Users can download attachments by clicking on them, which will prompt a dialog to save the file on their computer. Users also have the ability to delete attachments.
User story
As a CRM user,
I want to upload, view, download, and delete attachments related to a company in the Attachments sub-tab,
So that I can efficiently manage important documents and files associated with the company.
Visual design:
https://www.figma.com/design/I5CXH7H3ICD0vfA1kPbcVf/ROCKEN-jobs-%2F-talent?node-id=16335-53352&t=6ItAnLqhDsxejI85-4
|
#
|
Acceptance Criteria
|
|
|
01
|
Scenario: Adding a New Attachment Given I am viewing the Attachments sub-tab in the Company View Page, When I click the "attach the file" link, Then I should be able to select a file from my computer, AND the selected file should be uploaded and added to the bottom of the attachments list.
|
|
|
02
|
Scenario: Displaying Attachments in a Scrollable List Given I have added multiple attachments to the Attachments sub-tab, When the number of attachments exceeds the visible area of the screen, Then I should be able to scroll down to view all attachments in the list.
|
|
|
03
|
Scenario: Downloading an Attachment Given I am viewing the Attachments sub-tab, When I click on an attachment, Then a dialog should appear prompting me to save the file on my computer.
|
|
|
04
|
Scenario: Deleting an Attachment Given I am viewing the Attachments sub-tab, When I click on the delete option for an attachment, Then the attachment should be removed from the list, AND it should no longer be accessible from the sub-tab.
|
|
|
05
|
Scenario: Confirmation Before Deleting an Attachment Given I am about to delete an attachment, When I click the delete option, Then a confirmation dialog should appear asking if I am sure about deleting the attachment, AND if I confirm, the attachment should be deleted, AND if I cancel, the attachment should remain in the list.
|
|
Leave a Reply
You must be logged in to post a comment.