@@ -329,7 +329,7 @@ Item {
329329 tryCompare(previewListView, "open", false);
330330 }
331331
332− function test_filter_expand_expand() {
332+ function test_filter_expand_expand_collapse() {
333333 // wait for the item to be there
334334 tryCompareFunction(function() { return findChild(genericScopeView, "dashSectionHeaderapplications.scope") != null; }, true);
335335
@@ -365,6 +365,10 @@ Item {
365365 tryCompare(category0, "filtered", false);
366366 tryCompare(category2, "filtered", true);
367367 tryCompare(category2FilterGrid, "filter", true);
368+ mouseClick(header0, header0.width / 2, header0.height / 2);
369+ mouseClick(header0, header0.width / 2, header0.height / 2);
370+ tryCompare(category0, "filtered", true);
371+ tryCompare(category2, "filtered", true);
368372 }
369373
370374 function test_bug1271676_no_move_y_no_preview() {
@@ -385,6 +389,7 @@ Item {
385389 function test_narrow_delegate_ranges_expand() {
386390 tryCompareFunction(function() { return findChild(genericScopeView, "dashCategory0") != undefined; }, true);
387391 var category = findChild(genericScopeView, "dashCategory0")
392+ tryCompare(category, "filtered", true);
388393
389394 shell.width = units.gu(20)
390395 var categoryListView = findChild(genericScopeView, "categoryListView");