@@ -91,6 +91,7 @@ Item {
9191 previewListView.open = true;
9292 scopes.get(0).hideDash();
9393 tryCompare(previewListView, "open", false);
94+ tryCompare(openEffect, "gap", 0);
9495 }
9596
9697 function openPreview() {
@@ -314,7 +315,7 @@ Item {
314315 tryCompare(previewListView, "open", false);
315316 }
316317
317− function test_filter_expand_expand() {
318+ function test_filter_expand_expand_collapse() {
318319 // wait for the item to be there
319320 tryCompareFunction(function() { return findChild(genericScopeView, "dashSectionHeader2") != undefined; }, true);
320321
@@ -350,11 +351,15 @@ Item {
350351 tryCompare(category0, "filtered", false);
351352 tryCompare(category2, "filtered", true);
352353 tryCompare(category2FilterGrid, "filter", true);
354+ mouseClick(header0, header0.width / 2, header0.height / 2);
355+ tryCompare(category0, "filtered", true);
356+ tryCompare(category2, "filtered", true);
353357 }
354358
355359 function test_narrow_delegate_ranges_expand() {
356360 tryCompareFunction(function() { return findChild(genericScopeView, "dashCategory0") != undefined; }, true);
357361 var category = findChild(genericScopeView, "dashCategory0")
362+ tryCompare(category, "filtered", true);
358363
359364 shell.width = units.gu(20)
360365 var categoryListView = findChild(genericScopeView, "categoryListView");