@@ -365,7 +365,7 @@ Row {
367 // check the tinting of the positive/right button
367 // 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")
370 // click the positive/right button
370 // click the positive/right button
371 mouseClick(buttonAccept, buttonAccept.width / 2, buttonAccept.height / 2)
371 mouseClick(buttonAccept, buttonAccept.width / 2, buttonAccept.height / 2)
@@ -381,7 +381,7 @@ Row {
381 mouseClick(buttonCancel, buttonCancel.width / 2, buttonCancel.height / 2)
381 mouseClick(buttonCancel, buttonCancel.width / 2, buttonCancel.height / 2)
382 waitForRendering(notification)
382 waitForRendering(notification)
383 actionSpy.clear()
383 actionSpy.clear()
385 // test the additional buttons
385 // test the additional buttons
386 for (var i = 2; i < data.actions.length; i++) {
386 for (var i = 2; i < data.actions.length; i++) {
387 waitForRendering(notification)
387 waitForRendering(notification)