Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-7444

Improvements in new FakeMagnoliaUi extension

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • None
    • None

      We have created a new junit5 extension to test UI, similar to the deprecated FakeMagnoliaUi class. We have removed JCR dependencies, and we have created tests in the new Norsu pages app. The effort was initiated in https://jira.magnolia-cms.com/browse/NORSU-438, but still, there is room for more improvements. Split this task into other tasks if necessary. The improvements are optional and can be ignored:

      • Make the extension available via annotation. At the moment, is used only with RegisterExtension annotation.
      • Delete the temporal folders used by ResourceOrigin.
      • Remove the support for content types and content type dependencies. Or add some tests to validate them if kept.
      • Think of a way to extend the FakeMagnoliaUiExtension, for example, to use Norsu or Jcr datasources, or content types. Trying to create a common way to extend and not repeat yourself each time you want to test applications.

        Acceptance criteria

          1.
          Implementation Sub-task To Do Unassigned
          2.
          Review Sub-task To Do Unassigned
          3.
          Pre-Integration QA Sub-task To Do Unassigned
          4.
          QA Sub-task To Do Unassigned

              mduerig Michael Duerig
              jfranco Jorge Franco
              Foundation
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:

                  Task DoD