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

Page object ToolBox (for content apps)

    XMLWordPrintable

Details

    Description

      The new Content apps come with some "tools" allowing to adapt the current content app, such as:

      • The extension view
      • The view switcher
      • and others.

      The task is to provide a page object - the Toolbox - exposing the buttons and other UI elements which are displayed above the grid of the content app browser.

      Use cases

      • jcr-browser app
        • choose workspace
        • toggle (hide/show) sys-properties
      • various content apps
        • view switcher: switch to tree, list, thumbnail view

      Proposed API

      ToolBox access:

      ContentApp should provide access to the toolbox.

      "Generic" stuff

      • Buttons
        • #clickButton(MagnoliaIcons icon)
      • Combobox
        • #getComboBoxValue(String label) 
        • #setComboBoxValue(String label, String value) 
      • Checkbox - check/uncheck
        • #check(String label) 
        • #uncheck(String label)

      On all the above methods the API should allow to pass null for the label - in that case selecting the 1st one - or the only one.

       

      Specific stuff

      • Toggle details - show/hide details.
        • #showExtensionViewDetails
        • #hideExtensionViewDetails

      => see  

       

      • switch view
        • #setViewType(type)

      Not fully sure whether we want the specific stuff. These are convenience methods.
      But at least the view switcher seems very reasonable.

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Work Started:

                  Checklists

                    Task DoR