Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-25135

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

    XMLWordPrintable

Details

    • Unknown

    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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: