@@ -127,12 +127,12 @@ Item {
129 function test_actions() {
129 function test_actions() {
130− var buttons = findChild(appPreview, "gridButtons");
130+ var buttons = findChild(appPreview, "buttonList");
131 compare(buttons.count, 3, "Not the proper amount of actions detected.");
131 compare(buttons.count, 3, "Not the proper amount of actions detected.");
133 for(var i = 0; i < buttons.count; i++) {
133 for(var i = 0; i < buttons.count; i++) {
134− buttons.currentIndex = i;
134+ var button = findChild(appPreview, "button" + i);
135− buttons.currentItem.clicked();
135+ mouseClick(button, 1, 1);
138 var actions = data.actions;
138 var actions = data.actions;