Uploaded image for project: 'Community Edition'
  1. Community Edition
  2. MGNLCE-51

A possible notification should be closed before getting a dialog button

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Neutral Neutral
    • None
    • None
    • UI tests
    • None

      The resolution on the build infrastructure is quite low so it could happen that a notification overlaps a dialog.
      Something along the code below should do the trick in info.magnolia.integrationtests.uitest.AbstractMagnoliaUITest#getDialogButton:

      WebElement notification = getElementByXpath("//div[contains(@class, 'v-shell-notification')]");
      if (isExisting(notification)) {
              log.warn("Need to close notification '{}' to get the dialog button: {}", notification, classname);
      notification.click();
      }
      

        Acceptance criteria

              Unassigned Unassigned
              rkovarik Roman Kovařík
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoR