QA: Stashes
Opened this issue · 0 comments
Tawmy commented
List
- Shows entries in stash -> only to user
- Truncates after 4000 characters
- Truncates individual long entries
- Shows appropriate error if stash not found -> only to user
- Shows appropriate error if no entries in stash -> only to user
Pick
- Can be run with or without stash name
- Shows a random entry from stash if name given -> public
- Shows a random entry from any stash if no name given -> public
- Appropriate error when stash provided and stash not found -> only to user
- Appropriate error when stash provided and stash empty -> only to user
- Appropriate error when no stash provided and no stashes exist -> only to user
- Appropriate error when no stash provided, stashes exist, but none of them contain any entries -> only to user
Show
- Correctly shows given stash entry -> public
- Appropriate error when stash not found -> only to user
- Appropriate error when stash found, but entry with given index doesn't exist -> only to user
Message context menu: Add
- Shows modal where user can edit content
- No error when user cancels in modal
- Successfully saves when user saves directly
- Successfully saves when user edits text, and edited text is saved
- Shows confirmation after saving -> only to user
Create
- Creates stash with given name
- Shows confirmation -> only to user
- Shows appropriate error if stash with same name already exists -> only to user
Remove
- Deletes entry if string matches
- Deletes entry if index matches
- Shows error if neither match -> only to user
- Shows confirmation -> only to user
Delete
- Shows warning about irreversible action -> only to user
- Warning has two buttons, one to confirm and one to cancel
- Stash is deleted when confirmed
- Confirmation is shown after deletion -> only to user
- If cancel is pressed, remove message