Steps to replicate the issue (include links if applicable):
- 1. Select a section or a page suggestion to translate. This will lead you to the confirmation step.
- 2. Inside the confirmation step, click on the source language and select a different language from the list.
What happens?:
An error is thrown at the console, suggestion information disappear from screen, and if the user clicks on the "Start Translation" page, they are navigated to a broken "Pick a sentence" step.
The error is different for page and section translations, but both cases are broken.
What should have happened instead?:
- The source language should have been updated
- The source article information inside the confirmation step should have been updated to reflect the new source article
- Click on the "start translation" button should navigate to the next step properly without errors.
Screencasts from greek (el) production wiki
Page suggestion:
Section suggestion:
Derived Requirement
When a user selects a different source language during the confirmation step of a page or section translation, the application should correctly update the source language and corresponding article information. The "Start Translation" button should properly navigate the user to the next step without throwing errors or displaying broken screens.
BDD
Feature: Update Source Language in Translation Workflow
Scenario: Update source language and article information in the confirmation step
Given the user has selected a page or section to translate And the user is on the confirmation step of the translation workflow When the user selects a different source language Then the source language should be updated And the source article information should be updated to reflect the new source article And clicking the "Start Translation" button should navigate the user to the next step without any errors
Test Steps
Test Case 1: Ensure Source Language and Article Update Correctly
- Select a section or page suggestion to translate, leading to the confirmation step.
- Inside the confirmation step, click on the source language and choose a different language from the list.
- ✅❓❌⬜ AC1: Confirm that the source language updates without throwing any console errors.
- ✅❓❌⬜ AC2: Verify that the source article information in the confirmation step is updated according to the newly selected source language.
- ✅❓❌⬜ AC3: Click the "Start Translation" button and confirm the user is navigated to the next step without errors and the "Pick a sentence" step works correctly.
QA Results - Test Mobile Special:ContentTranslation
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T375410#10268920 |
| 2 | ✅ | T375410#10268920 |
| 3 | ✅ | T375410#10268920 |




