-
Type:
Technical Testing
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Translations Management
-
Labels:None
-
Story Points:8
-
Sprint:LIMA | #21 | DIS | Jul07-Jul28, LIMA | #22 | DIS | Jul24-Aug18, LIMA | #23 | DIS | Aug18-Sep08, LIMA | #24 | DIS | Sep08-Sep29, LIMA | #40 | DEV | Sep07-Oct05, LIMA | #41 | DEV | Oct05-Nov02, LIMA | #42 | DEV | Nov02-Nov30
-
Git Pull Request:
- Create the test scenarios to validate the parent story according to the acceptance criteria
- These will be documented in a table in the story
Test Scenarios1.31: User can select a zip file when importing translations for a web content
TranslationsExportImport#CanImportWCWithZipFile
Test Steps:
- Add a basic WC article (Web Content Title, Web Content Content)
- Export for Translation of Spanish, German
- Translate it
- Click on Import Translation
- Select the translated zip file
- Import the zip file
- Assert the system shows a success message indicating the import was published
- View the web content article
- Assert the title and content are translated in Spanish and German
Test Scenarios 1.32: User can import a zip file to the corresponding web content
Covered in Test Scenarios 1.31
Test Scenarios 1.33: The system shows a success message indicating the import was published
Covered in Test Scenarios 1.31
Test Scenarios 1.34: The translations are added to the web content once the user publishes the imported translations
Covered in Test Scenarios 1.31
Test Scenarios 1.35: All the translated fields can be imported into the web content
Covered in Test Scenarios 1.31
Test Scenarios1.36: Other translation files can be imported when some translation files have an error
Covered in Test Scenarios 1.39
Test Scenarios1.37: The translation file can not be imported when it has an error
Covered in Test Scenarios 1.39
Test Scenarios 1.38: Show error messages to inform the user which files were failed to import when any of the translation files have an error
Covered in Test Scenarios 1.39
Test Scenarios 1.39: The system shows a success message indicating the import was published
Covered in Test Scenarios 1.39
Test Scenarios 1.40: Web Content translations imported via zip file can be approved through the workflow
TranslationsWorkflow#CanApproveEntryFromPartiallyImportedZip
- Add web content with title, summary and content
- Enable translations single approver workflow
- Export for Translation of Spanish, German
- Translate it
- Update the file id for German to make it fail to import
- Click on Import Translation
- Import the zip file
- Assert show error messages to inform the user which files were failed to import
- Assert show success messages to inform the user which files were imported successfully
- Assert the status for Spanish is PENDING
- Assert there is no item for German under Translation Processes
- Notifications -> Click on new notification and Assign to Me -> Approve it
- Assert the status for Spanish is APPROVED
- Assert the article fields are translated
Test Scenarios 1.41: Web Content translations imported via zip file can be resubmitted through the workflow
TranslationsWorkflow#CanResubmitImportedEntryFromZipFile
- Add web content with title, summary and content
- Enable translations single approver workflow
- Export for Translation of Spanish, German
- Translate it
- Click on Import Translation
- Import the zip file
- Assert show success messages to inform the user which files were imported successfully
- Assert the status for Spanish and German are PENDING
- Notifications -> Click on new notification and Assign to Me -> Reject it
- Assert the status for Spanish and German are PENDING
- Reimport the translation file
- Resubmit it
- Notifications -> Click on new notification and Assign to Me -> Approve it
- Assert the status for Spanish and German is APPROVED
- Assert the article fields are translated in Spanish and German
Test Scenarios 1.42: Web Content translations are added to the web content once it approved by a reviewer
Covered in Test Scenarios 1.40
Test Scenarios1.43: User can import a zip file to the corresponding content page
TranslationsContentPageExportImport#OnlyValidEntriesAreUploadedFromZip
- Add a content page
- Export content page for translation of Spanish, Japanese and Chinese
- Translate it
- Update the id for Spanish to make it fail to import
- Import the translated zip file
- Assert show error messages to inform the user which files were failed to import
- Assert show success messages to inform the user which files were imported successfully
- View the content page
- Assert the content page is translated in Japanese and Chinese
- Assert the content page is not translated in Spanish
Test Scenarios 1.44: The translations are added to the content page once the user publishes the imported translations
Covered in Test Scenarios 1.43
Test Scenarios 1.45: All the translated fields can be imported into the content page
Covered in Test Scenarios 1.43
Test Scenarios 1.46: Other content page translation files can be imported when some translation files have an error
Covered in Test Scenarios 1.43
Test Scenarios 1.47: The translation file can not be imported when the Content page has an error
Covered in Test Scenarios 1.43
Test Scenarios 1.48: Content page translations imported via zip file can be resubmitted through the workflow
TranslationsContentPageWorkflow#CanResubmitImportedEntryFromZip
- Add a content page with heading fragment
- Enable translations single approver workflow
- Export for Translation of Spanish, German
- Translate it
- Click on Import Translation
- Import the zip file
- Assert show success messages to inform the user which files were imported successfully
- Assert the status for Spanish and German are PENDING
- Notifications -> Click on new notification and Assign to Me -> Reject it
- Assert the status for Spanish and German are PENDING
- Reimport the translation file
- Resubmit it
- Notifications -> Click on new notification and Assign to Me -> Approve it
- Assert the status for Spanish and German is APPROVED
- Assert the content page fields are translated in Spanish and German
Test Scenarios 1.49: Translations are added to the Content page once it approved by a reviewer
Covered in Test Scenarios 1.46