| Test Path Name | GIVEN Initial Context | WHEN Something Happens | THEN Expected Result | TEST SCRIPT Sequence of steps to follow | TEST DATA | ACTUAL RESULTS | Tester Comments | STATUS Pass Fail | LOG NOTE Tester / Timestamp |
---|
1 | Successfully view/download a file from a document attachment in view mode | - as a logged-in user
- with the minimum user rights ERM: can view agreements/licenses
| - opening the Licenses or Agreements app
- searching for an instance
- view instance contents
- when presented with a view/download link/button
- I click the link/button
| - (depending on browser setup)
- a file is downloaded from FOLIO and loaded in the designated viewer or offered to be saved to local file system
| - Log in as user with minimum user rights ERM: can view agreements/licenses
- Navigate to Agreements app/agreement with file attachement
- click 'view/download' link/button in accordion
- verify that file is acessible for view/save
- Repeat step 2-4 for
- licenses
- supplementary material to license
| - (prepare agreement and license instances with file attachments)
- (prepare test users with staged privileges)
| |
| |
|
2 | unsufficient user privileges | - as a logged-in user
- without minimum user rights ERM: can view agreements/licenses
| - opening the Licenses or Agreements app
| request to use app is rejected (or if searching/browsing/expanding accordions are allowed: view/download button is inactive) | - Log in as user without minimum user rights ERM: can view agreements/licenses
- Navigate to agreement with file attachement
- click 'view/download' button
- verify that file is not accessible
- Repeat step 2-4 for
- licenses
- supplementary material to license
|
|
|
|
|
|
3 | Successfully view/download a file from a document attachment in edit mode | - as a logged-in user
- with the minimum user rights ERM: can view/edit agreements/licenses
| - opening the Licenses or Agreements app
- searching for an instance
- edit instance contents
- when presented with a view/download link/button
- I click the link/button
| - (depending on browser setup)
- a file is downloaded from FOLIO and loaded in the designated viewer or offered to be saved to local file system
| - Log in as user with minimum user rights ERM: can view/edit agreements/licenses
- Navigate to agreement with file attachement/enter edit mode
- click 'view/download' button
- verify that file is acessible for view/save
- Repeat step 2-4 for
- licenses
- supplementary material to license
|
|
|
|
|
|
4 | (Admittedly far-fetched) File access on FOLIO not success full (e.g. attachement has been removed/cannot be accessed on file system level) | - as a logged-in user
- with the minimum user rights ERM: can view agreements/licenses
| - opening the Licenses or Agreements app
- searching for an instance
- when presented with a view/download button/link
- I click the button/link
- the file cannot be accessed in the backend
| Possible feedback - dedicated error message
- View/download button is turned inactive
is removed
| Test-scenario: Two users are accessing the app simultaniously, user one removes attachment, which user two wants to access later in the same session see above |
|
|
|
|
|