on xenial help sign in
fix tests
commit2e6e82ff33a3cdb52858a06a3c499992508c70c3 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateThu 7 Apr 2016, 23:33 (11 years ago) parent0d3ddc2
2 files changed+2−2
tests/qmltests/Notifications/tst_Notifications.qml+1−1 tests/qmltests/Notifications/tst_SwipeToAct.qml+1−1
tests/qmltests/Notifications/tst_Notifications.qml+1−1
@@ -619,7 +619,7 @@ Item {
619619 var n = findChild(notifications, "notification" + i)
620620 waitForRendering(n);
621621 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);
623623 }
624624
625625 if (data.hasSound) {
tests/qmltests/Notifications/tst_SwipeToAct.qml+1−1
@@ -35,7 +35,7 @@ Item {
3535
3636 QtObject {
3737 function invokeAction(actionId) {
38− mockModel.actionInvoked(actionId);
38+ mockModel.actionInvoked(actionId)
3939 }
4040
4141 function close() {