[MGNLTEST-462] PO for about-app to read some details of a Magnolia instance Created: 15/Nov/23  Updated: 08/Dec/23  Resolved: 08/Dec/23

Status: Closed
Project: Magnolia Test Framework
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Neutral
Reporter: Christoph Meier Assignee: Harshini Pola
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Bildschirmfoto 2023-11-15 um 10.25.43.png    
Template:
Acceptance criteria:
Empty
Date of First Response:
Epic Link: core-TF-features-bugs-improvements
Work Started:

 Description   

To get an idea - see screenshot.

Following "attributes" should be accessible via the PO:

  • Version
    • "all"
    • Major-version {"6.2", "6.3"}
    • build-date .. again .. see screenshot ... would be lovely to get this as a java.util.Date

Developer notes:

Note that PO doesn not necessarily rely on Selenium. Sometimes I am tempted to look for other solutions on order to have a fast PO ... bit not yet sure whether that's possible in the given case.

Ideas:

1/
See how the about-app reads the data it displays:
-> info.magnolia.cms.pddescriptor.ProductDescriptorExtractor#init()

public void init() {
        InputStream in = this.getClass().getClassLoader().getResourceAsStream("info/magnolia/cms/pddescriptor/pddescriptor.xml");
        this.init(in);
    }

2/ Maybe just use a "regular" http-client and anaylze the response-body?
Likely no a good idea ...

3/ go back to selenium ... haha



 Comments   
Comment by Harshini Pola [ 08/Dec/23 ]

Added in main and release/1.4 - reviewed and merged.

Generated at Mon Feb 12 07:49:11 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.