Details
-
New Feature
-
Resolution: Fixed
-
Neutral
-
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