Derived Requirement
Ensure that when generating section translation suggestions via the API:
- The API does not return a section suggestion if the only remaining untranslated sections of an article are appendix sections.
- Appendix sections are excluded from suggestion results when no other content sections remain.
- If at least one non-appendix section remains untranslated, the API returns a suggestion for a non-appendix section.
Test Steps
Preconditions:
- User is authenticated (if required by the endpoint).
- An article exists where only appendix sections (e.g., References, External links, See also) remain untranslated.
- An article exists where at least one non-appendix section remains untranslated.
- Access to execute API requests (e.g., via browser dev tools, curl, or API console).
Test Case 1: Ensure API omits suggestion when only appendix sections remain
- Identify an article where all main content sections are translated and only appendix sections remain.
- Call the section suggestion API endpoint for that article with the relevant source and target language parameters.
- Inspect the JSON response.
- ✅❓❌⬜ AC1: The API response does not include any section suggestion.
QA Results - API
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T409482#11642164 |
