This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-6d419482-7012-4f97-9ccf-824d24b9079b XWIKI-25135 Open

Add automated test for "Translate page while editing in place"

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-967a8f81-6bd9-4c1c-8838-6fa61a07bc9d Vincent Massol created this issue on 01/Oct/26 20:52
 
Summary: Add automated test for "Translate page while editing in place"
Issue Type: cid:jira-generated-image-avatar-6d419482-7012-4f97-9ccf-824d24b9079b Task
Affects Versions: 11.10.13
Assignee: Unassigned
Components: Development Issues only
Created: 01/Oct/26 20:52
Labels: testneeded
Priority: cid:jira-generated-image-static-major-baf39d4d-80c9-4e76-b1f8-8b0668118e52 Major
Reporter: Vincent Massol
Description:

The manual test is here: Translate page while editing in place

Existing automated coverage

Missing automated coverage

  • With the UI switched to French from the home page, hover the Traduire button and assert its tooltip 'Traduire cette page en français' (core.menu.translate.hint)
  • Click Traduire and assert the page title field hint 'Vous êtes en train de modifier la traduction français. Débutez en traduisant le titre de la page.' (edit.inplace.page.translate.messageAfter)
  • For a terminal and a non-terminal page change the title and content, click Enregistrer & fermer and assert the saved French title and content
  • Switch languages from the drawer Languages menu and assert the en and fr versions each show their own title and content
  • Add page object accessors for the tooltip and the title hint

Suggested location: xwiki-platform-core/xwiki-platform-edit/xwiki-platform-edit-test/xwiki-platform-edit-test-docker/src/test/it/org/xwiki/edit/test/ui/InplaceTranslateIT.java

Found by comparing the XWiki 18.4.4 manual test runs against the automated tests on master (a0055f10a1a).