on xenial help sign in
wait for the notification to be expanded
47237deMichael Zanetti
tests/qmltests/tst_Shell.qml+2
@@ -230,6 +230,8 @@ Item {
230 // Make sure the notification really opened
230 // Make sure the notification really opened
231 var notification = findChild(notifications, "notification" + (mockNotificationsModel.count - 1));
231 var notification = findChild(notifications, "notification" + (mockNotificationsModel.count - 1));
232 verify(notification !== undefined && notification != null, "notification wasn't found");
232 verify(notification !== undefined && notification != null, "notification wasn't found");
233+ var behavior = findInvisibleChild(notification, "notificationHeightBehavior");
234+ tryCompare(notification, "height", notification.implicitHeight)
233 waitForRendering(notification);
235 waitForRendering(notification);
234
236
235 // Make sure activeFocus went away from the app window
237 // Make sure activeFocus went away from the app window