@@ -689,6 +689,22 @@ Item {
689 tryCompare(overlay, "visible", false);
689 tryCompare(overlay, "visible", false);
693+ function test_windowControlsOverlayMaximizeButtonReachable() {
694+ var facebookAppDelegate = startApplication("facebook-webapp");
695+ verify(facebookAppDelegate);
696+ var overlay = findChild(facebookAppDelegate, "windowControlsOverlay");
699+ multiTouchTap([0, 1, 2], facebookAppDelegate);
700+ tryCompare(overlay, "visible", true);
702+ var maxButton = findChild(facebookAppDelegate, "maximizeWindowButton");
703+ tryCompare(maxButton, "visible", true);
704+ mouseClick(maxButton);
705+ tryCompare(facebookAppDelegate, "maximized", true);
692 function test_dashHasNoCloseButton() {
708 function test_dashHasNoCloseButton() {
693 var dashAppDelegate = startApplication("unity8-dash");
709 var dashAppDelegate = startApplication("unity8-dash");
694 verify(dashAppDelegate);
710 verify(dashAppDelegate);