@@ -365,7 +365,7 @@ Row {
365365 }
366366
367367 // check the tinting of the positive/right button
368− compare(buttonAccept.gradient, data.buttonTinted ? UbuntuColors.orangeGradient : UbuntuColors.greyGradient, "button has the wrong color-tint")
368+ verify(buttonAccept.gradient === data.buttonTinted ? UbuntuColors.orangeGradient : UbuntuColors.greyGradient, "button has the wrong color-tint")
369369
370370 // click the positive/right button
371371 mouseClick(buttonAccept, buttonAccept.width / 2, buttonAccept.height / 2)
@@ -381,7 +381,7 @@ Row {
381381 mouseClick(buttonCancel, buttonCancel.width / 2, buttonCancel.height / 2)
382382 waitForRendering(notification)
383383 actionSpy.clear()
384−
384+
385385 // test the additional buttons
386386 for (var i = 2; i < data.actions.length; i++) {
387387 waitForRendering(notification)