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

Provide Page Object for Banner messages

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Neutral
    • None
    • None
    • None

    Description

      Provide a page object for "banner messages".

      Possible API(s)

      New PO BannerMessage

      • String getTitle
      • String getMessage
      • BannerMessage.Type getType
      • void clickReadMore
      • void clickReadAllNotifications
      • void close

      New methods on PageObjects to access or check for possible banner message.

      • boolean hasBanner
        • whether the UI contains a banner (or stacked banners)
      • Optional <BannerMessage> getBanner
        • returns the banner message currently sticked on the UI (the one on top)

      The UI can indicate whether there are actually "multiple" banner - but the only way it does this is by showing an additional button ("Read all notifications"). Hence I propose that we mainly ignore the multiple banner thingy.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD