Details
-
Technical Testing
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
-
None
-
None
-
5
-
LIMA | QA Sprint 12
Description
Test Priority | Portlet | Test Scenarios | POSHI test name |
---|---|---|---|
5 | Document | A document with an uploaded file can be auto-tagged after enabling Google Cloud Natural Language | GoogleCloudAutotagging#CanRemoveDocumentTag |
4 | Document | A tag added in a document through GCNL can be removed | GoogleCloudAutotagging#CanRemoveDocumentTag |
4 | Document | A document with a tag added by manual can not be auto-tagged after publishing | GoogleCloudAutotagging#CanOnlyViewDocumentManualTag |
4 | Document | Auto tags can be published to live with the document | GoogleCloudAutotagging#CanViewDocumentAutoTagsAfterPublishing |
Public Settings:
- Go to System setting> Assets> Enable Google Cloud Natural Language Text Auto Tagging
- Check Classification Endpoint Enabled
- Update Confidence to "0.002"
- Enable Google Cloud Natural Language Text Auto Tagging For document
- Add API key
Scenario: A document with an uploaded file can be auto-tagged after enabling Google Cloud Natural Language
See GoogleCloudAutotagging#CanRemoveDocumentTags
Scenario: A tag added in a document through GCNL can be removed
GoogleCloudAutotagging#CanRemoveDocumentTag
Test Steps:
- Go to DM> Add a document and upload a doc file with some text>Publish
- Go to edit the document
- Remove the tags> Publish
- Go to the document> Info panel
- Assert no tags
Scenario: A document with a tag added by manual can not be auto-tagged after publishing
GoogleCloudAutotagging#CanOnlyViewDocumentManualTag
Test Steps:
- Go to DM> Add a document and upload a doc file with some text
- Add a tag "manual" to CATEGORIZATION> Tags
- Publish
- Go to the document> Info panel
- Assert only the manually added tags can be viewed
Scenario: Auto tags can be published to live with the document
GoogleCloudAutotagging#CanViewDocumentAutoTagsAfterPublishing
Test Steps:
- Add a new site
- Add a new page with a blogs widget
- Set local staging for site
- Go to staged site>DM
- Add a document and upload a doc file with some text>Publish
- Publish to live
- Go to live site
- Go to the document> Info panel
- Assert the tags can be viewed