[MGNLCE-51] A possible notification should be closed before getting a dialog button Created: 29/Jul/16  Updated: 19/May/22  Resolved: 19/May/22

Status: Closed
Project: Community Edition
Component/s: UI tests
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Roman Kovařík Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty

 Description   

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();
}


 Comments   
Comment by Roman Kovařík [ 19/May/22 ]

Hello,

This ticket is now marked as closed due to one of the following reasons:

  • A long period of inactivity
  • Uses an old or Beta version of an application, module, or framework that we no longer support
  • The issue is no longer reproducible or has been fixed in later versions

If you are still facing a problem or consider this issue still relevant, please feel free to re-open the ticket and we will reach out to you.

Thank you,
The Magnolia Team

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