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

Add automated test for "In place edit for application entries"

    XMLWordPrintable

Details

    • Unknown

    Description

      The manual test is here: In place edit for application entries (Since XWiki 12.3 RC1)

      Existing automated coverage

      • DocumentFieldsIT#titleAndContent: On an AWM entry view page, edits the Title document field in place (pencil, then check) and asserts the new value displayed and in the entries live table
      • ClassSheetIT#createClass: In-place edit of custom class properties (pencil/check) on a non-AWM page using the default class sheet

      Missing automated coverage

      • Create an AWM app with several field types (e.g. Short Text, Number, Static List, Date)
      • Add an entry, fill values and click Save & View
      • On the entry view page, for each custom field click the pencil (EditablePropertyPane#clickEdit), change the value and click the check (clickSave)
      • Assert each displayed value is updated
      • Reload the page and assert the new values are persisted

      Suggested location: xwiki-platform-core/xwiki-platform-appwithinminutes/xwiki-platform-appwithinminutes-test/xwiki-platform-appwithinminutes-test-docker/src/test/it/org/xwiki/appwithinminutes/test/ui/DocumentFieldsIT.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: