Details
-
Technical Testing
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
-
None
-
None
Description
Test Cases
Case 1:
Automatically rename documents when bulk restore them from recycle bin if document names already exist in the destination
- Site admin > Content & Data > Documents and Media
- Click add button
- File Upload
- Upload Document_1.png named Document_1.png
- Publish
- Click add button
- File Upload
- Upload Document_1.txt named Document_1.txt
- Publish
- Move both documents to recycle bin
- Click add button
- File Upload
- Upload Document_1.png named Document_1.png
- Publish
- Click add button
- File Upload
- Upload Document_1.txt named Document_1.txt
- Publish
- Site admin > Recycle Bin > Recycle Bin
- Select both documents
- Assert Restore button is shown on the right top corner
- Click Restore button
- Assert successful message
- Site admin > Content & Data > Documents and Media
- Assert Document_1.png(1) document is shown
- Assert Document_1.txt(1) document is shown
Case 2:
The warning popup should be shown when bulk restore multiple Web Content Articles to the original folder that is missing
Site admin > Content & Data > Web Content > Web Content tabAdd a folder in Home folderAdd three Web Content Articles to new folderMove all Web Content Articles to recycle binBack to Home folderMove the new folder to recycle binSite admin > Recycle Bin > Recycle BinSelect all three Web Content ArticlesAssert Restore button is shown on the right top cornerClick Restore buttonAssert the Warning popup shown and the following message is shown in popup:The original Folder does not exist anymore. Choose a different Folder to restore
Case 3:
The error message should be shown when restore a document from recycle bin when it has the same name as existing document'
- Site admin > Content & Data > Documents and Media
- Click add button
- File Upload
- Upload Document_1.png named Document_1.png
- Publish
- Move the document to recycle bin
- Click add button
- File Upload
- Upload Document_1.png named Document_1.png
- Publish
- Site admin > Recycle Bin > Recycle Bin
- Click the ellipsis button of document entry
- Click Restore action
- Assert the following error message is shown
- Error:An entry with name Document_1.png already exists
- Assert there are two options for overwrite or rename shown
Case 4:
The warning popup should be shown when restore a Web Content Article to the original folder that is missing
Site admin > Content & Data > Web Content > Web Content tabAdd a folder in Home folderAdd a Web Content Article to new folderMove the Web Content Article to recycle binBack to Home folderMove the new folder to recycle binSite admin > Recycle Bin > Recycle BinClick the ellipsis button of WC entryClick Restore actionAssert the Warning popup shown and the following message is shown in popup:The original Folder does not exist anymore. Choose a different Folder to restore
Case 5:
Can bulk restore multiple items from recycle bin
- Site admin > Content & Data > Web Content
- Add a Web Content Article
- Site admin > Content & Data > Blogs
- Add a Blog entry
- Site admin > Content & Data > Documents and Media
- Add a Document with an image
- Move above items to recycle bin
- Site admin > Recycle Bin > Recycle Bin
- Select all items in Recycle Bin
- Assert Restore button is shown on the right top corner
- Click Restore action
- Assert successful message
- Site admin > Content & Data > Web Content
- Assert the WC is back
- Site admin > Content & Data > Blogs
- Assert the Blog entry is back
- Site admin > Content & Data > Documents and Media
- Assert the Document is back