@@ -524,7 +524,6 @@ Item {
524 var peExtraPanel = findChild(dashContentList.currentItem, "peExtraPanel");
524 var peExtraPanel = findChild(dashContentList.currentItem, "peExtraPanel");
525 var headerContainer = findChild(pageHeader, "headerContainer");
525 var headerContainer = findChild(pageHeader, "headerContainer");
527− // test that closing the filters popover without a search unfocuses and removes the navigation
528 mouseClick(searchButton);
527 mouseClick(searchButton);
529 tryCompare(peExtraPanel, "visible", true);
528 tryCompare(peExtraPanel, "visible", true);
@@ -536,6 +535,19 @@ Item {
536 filtersPopover = findChild(shell, "filtersPopover")
535 filtersPopover = findChild(shell, "filtersPopover")
537 verify(filtersPopover);
536 verify(filtersPopover);
538+ // test that popover resizes
539+ var shellWidth = shell.width;
540+ var popoverWidth = filtersPopover.contentWidth;
542+ shell.width = shellWidth + units.gu(60);
543+ waitForRendering(shell);
545+ tryCompare(filtersPopover, "contentWidth", popoverWidth + units.gu(60));
547+ shell.width = shellWidth;
548+ waitForRendering(shell);
550+ // test that closing the filters popover without a search unfocuses and removes the navigation
539 mouseClick(shell, shell.width - 1, shell.height - 1);
551 mouseClick(shell, shell.width - 1, shell.height - 1);
541 tryCompare(pageHeader.extraPanel, "visible", false);
553 tryCompare(pageHeader.extraPanel, "visible", false);