Uploaded image for project: 'Magnolia Test Framework'
  1. Magnolia Test Framework
  2. MGNLTEST-93

Utility to conveniently read JCR properties

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Neutral
    • 1.0.2
    • None
    • None

    Description

      Create a utility to conveniently read JCR property within integration (and UI) tests utilizing the  info.magnolia.test.fixture.MagnoliaRestClient.

      Possible API

      Optional<RepositoryProperty> getProperty(String workspace, String nodePath, String propertyName) throws Exception;
      
      Optional<String> getPropertyValue(String workspace, String nodePath, String propertyName) throws Exception;
      

      Not 100% sure whether it make sense to return String on the 2nd method. prbly we just skip that 2nd method

      Use cases

      • check the fileName of the binary associated with an asset (or a contact)
      • check width, height of the image associated with an asset

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              cmeier Christoph Meier
              cmeier Christoph Meier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: