SignalSpy {
id: movingChangedSpy
signalName: "contentXChanged"
}
function test_click_disabled_scroll_button_bug1551356() {
var listView = findChild(enabledSections, "sections_listview");
var icon = findChild(enabledSections, "leftScrollIcon");
movingChangedSpy.target = listView;
compare(listView.contentX, 0.0, "listView is not at the leftmost position initially.");
mouseClick(icon, icon.width/2, icon.height/2);
wait(200); // give the listview ample time to scroll
compare(movingChangedSpy.count, 0,
"listView moved when clicking disabled scroll button.");
movingChangedSpy.clear();
movingChangedSpy.target = null;
}