Details
-
Technical Testing
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
-
None
-
None
-
5
-
LIMA | #20 | Jun16-Jul07, LIMA | #23 | DEV | Aug18-Sep08, LIMA | #24 | DEV | Sep08-Sep29, LIMA | #26 | DEV | Oct20-Nov10, LIMA | #27 | DEV | Nov10-Dec01
Description
Test Scenario 1.1: The title name and the file name will be added automatically after uploading a file
See test scenario 1.10
Test Scenario 1.2: The title name will be the same as the file name without extension after uploading a file
See test scenario 1.10
Test Scenario 1.3: The file name will be the same as the uploaded file name after uploading a file
See test scenario 1.10
Test Scenario 1.4: The file name will not be changed after the title name is edited
Update the existing test: CPDocumentsandmedia#EditDocument
Test Steps:
- Go to DM to add a new document and upload a file (document_1.txt)
- Edit the document title to "DM Document Title Edit"
- Assert document filename remains as "document_1.txt"
- Edit the document filename to "document_1_Edit.txt"
- Assert document title remains as "document_1.txt"
- Publish and go to the document to view
- Assert the document title is "DM Document Title Edit" and the filename is "document_1_Edit.txt
Test Scenario 1.5: The title name will not be changed after the file name is edited
See test scenario 1.4
Test Scenario 1.6: The content of the file name field will be applied to the downloaded file
Add test: CPDocumentsandmedia#DownloadDocumentWithCustomFileName
Test Steps:
- Go to DM to add a new document and upload a file (document_1.jpg)
- Edit the document filename to "document_1_Edit.jpg"> Publish
- Download this document
- Assert the downloaded file name is "document_1_Edit.jpg"
Test Scenario 1.9: The document title can be displayed correctly in the different views
Add test: CPDocumentsandmedia#ViewDocumentInDifferentViews
Test Steps:
- Go to DM to add a document and upload a file (Document_1.txt)
- Change the display style to the card
- Assert the entry title is the document title
- Change the display style to the list
- Assert the entry title is the document title
- Change the display style to the table
- Assert the entry title is the document title
- Go to the document to view
- Assert the document title is "Document_1" and the file name is "Document_1.txt"