on xenial help sign in
Make sure the height it's the height it will have
fd45a52Albert Astals Cid
tests/qmltests/Notifications/tst_Notifications.qml+1
@@ -563,6 +563,7 @@ Item {
563 verify(notification !== undefined, "notification wasn't found");
563 verify(notification !== undefined, "notification wasn't found");
564
564
565 waitForRendering(notification);
565 waitForRendering(notification);
566+ tryCompare(notification, "height", notification.state === "contracted" ? units.gu(10) : notification.implicitHeight);
566
567
567 var icon = findChild(notification, "icon")
568 var icon = findChild(notification, "icon")
568 var centeredIcon = findChild(notification, "centeredIcon")
569 var centeredIcon = findChild(notification, "centeredIcon")