@@ -97,6 +97,9 @@ Item {
99 function fake_call(id, data){
99 function fake_call(id, data){
100 root.calls[root.calls.length] = [id, data];
103 root.calls[root.calls.length] = [id, data];
@@ -137,11 +140,12 @@ Item {
137 for(var i = 0; i < buttons.count; i++) {
140 for(var i = 0; i < buttons.count; i++) {
138 var button = findChild(appPreview, "button" + i);
141 var button = findChild(appPreview, "button" + i);
139 mouseClick(button, 1, 1);
142 mouseClick(button, 1, 1);
143+ appPreview.showProcessingAction = false;
142 var actions = data.actions;
146 var actions = data.actions;
143− for(var i = 0; i < actions.length; i++) {
147+ for(var j = 0; j < actions.length; j++) {
144− compare(root.calls[i][0], actions[i].id, "Id of action not found.");
148+ compare(root.calls[j][0], actions[j].id, "Id of action not found.");