on xenial help sign in
fix tests
2e6e82fLukáš Tinkl
tests/qmltests/Notifications/tst_Notifications.qml+1−1
@@ -619,7 +619,7 @@ Item {
619 var n = findChild(notifications, "notification" + i)
619 var n = findChild(notifications, "notification" + i)
620 waitForRendering(n);
620 waitForRendering(n);
621 var outterColumn = findChild(n, "outterColumn");
621 var outterColumn = findChild(n, "outterColumn");
622− tryCompare(n, "height", outterColumn.height + n.margins + (n.state !== "contracted" ? + n.margins : 0));
622+ tryCompare(n, "height", outterColumn.height + n.margins * 2);
623 }
623 }
624
624
625 if (data.hasSound) {
625 if (data.hasSound) {
tests/qmltests/Notifications/tst_SwipeToAct.qml+1−1
@@ -35,7 +35,7 @@ Item {
35
35
36 QtObject {
36 QtObject {
37 function invokeAction(actionId) {
37 function invokeAction(actionId) {
38− mockModel.actionInvoked(actionId);
38+ mockModel.actionInvoked(actionId)
39 }
39 }
40
40
41 function close() {
41 function close() {