@@ -573,10 +573,7 @@ Item {
573 var notification = findChild(notifications, "notification" + (mockModel.count - 1))
573 var notification = findChild(notifications, "notification" + (mockModel.count - 1))
574 waitForRendering(notification);
574 waitForRendering(notification);
575 verify(notification, "notification wasn't found");
575 verify(notification, "notification wasn't found");
577− var topRow = findChild(notification, "topRow");
578− tryCompare(notification, "height", notification.state === "contracted" ? topRow.childrenRect.height + notification.margins * 2
576+ tryCompare(notification, "height", notification.implicitHeight);
579− : notification.implicitHeight);
581 var icon = findChild(notification, "icon")
578 var icon = findChild(notification, "icon")
582 var centeredIcon = findChild(notification, "centeredIcon")
579 var centeredIcon = findChild(notification, "centeredIcon")
@@ -617,8 +614,8 @@ Item {
617 for (var i = 0; i < mockModel.count; ++i) {
614 for (var i = 0; i < mockModel.count; ++i) {
618 var n = findChild(notifications, "notification" + i)
615 var n = findChild(notifications, "notification" + i)
619 waitForRendering(n);
616 waitForRendering(n);
620− var topRow = findChild(n, "topRow");
617+ var outterColumn = findChild(n, "outterColumn");
621− tryCompare(n, "height", n.state === "contracted" ? topRow.childrenRect.height + n.margins * 2 : n.implicitHeight);
618+ tryCompare(n, "height", outterColumn.height + n.margins * 2);
624 if (data.hasSound) {
621 if (data.hasSound) {