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

PO for about-app to read some details of a Magnolia instance

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Done
    • Neutral
    • None
    • None
    • None

    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

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              hpola Harshini Pola
              cmeier Christoph Meier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Work Started: