on xenial help sign in
wait for the notification to be expanded
commit47237ded722a9629decdede3ac61b980c2bd7cbc authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 15 Oct 2014, 11:12 (12 years ago) parent636ade5
1 file changed+2
tests/qmltests/tst_Shell.qml+2
tests/qmltests/tst_Shell.qml+2
@@ -230,6 +230,8 @@ Item {
230230 // Make sure the notification really opened
231231 var notification = findChild(notifications, "notification" + (mockNotificationsModel.count - 1));
232232 verify(notification !== undefined && notification != null, "notification wasn't found");
233+ var behavior = findInvisibleChild(notification, "notificationHeightBehavior");
234+ tryCompare(notification, "height", notification.implicitHeight)
233235 waitForRendering(notification);
234236
235237 // Make sure activeFocus went away from the app window