@@ -573,10 +573,7 @@ Item {
573573 var notification = findChild(notifications, "notification" + (mockModel.count - 1))
574574 waitForRendering(notification);
575575 verify(notification, "notification wasn't found");
576−
577− var topRow = findChild(notification, "topRow");
578− tryCompare(notification, "height", notification.state === "contracted" ? topRow.childrenRect.height + notification.margins * 2
579− : notification.implicitHeight);
576+ tryCompare(notification, "height", notification.implicitHeight);
580577
581578 var icon = findChild(notification, "icon")
582579 var centeredIcon = findChild(notification, "centeredIcon")
@@ -617,8 +614,8 @@ Item {
617614 for (var i = 0; i < mockModel.count; ++i) {
618615 var n = findChild(notifications, "notification" + i)
619616 waitForRendering(n);
620− var topRow = findChild(n, "topRow");
621− tryCompare(n, "height", n.state === "contracted" ? topRow.childrenRect.height + n.margins * 2 : n.implicitHeight);
617+ var outterColumn = findChild(n, "outterColumn");
618+ tryCompare(n, "height", outterColumn.height + n.margins * 2);
622619 }
623620
624621 if (data.hasSound) {