on xenial help sign in
merge prereq
commit3eac474b8d591547b99217baa3846ebf480dddf6 authorLukáš Tinkl <lukas.tinkl@canonical.com> dateThu 8 Sep 2016, 15:02 (10 years ago) parente3a5ecdcddd659
2 files changed+2−5
tests/qmltests/Panel/tst_Panel.qml−2 tests/qmltests/tst_Shell.qml+2−3
tests/qmltests/Panel/tst_Panel.qml−2
@@ -380,8 +380,6 @@ IndicatorTest {
380380 tap(panel, stepLength * i, tapY);
381381 tryCompare(panel.indicators, "fullyClosed", true);
382382 }
383−
384− compare(backgroundPressedSpy.count, 0);
385383 }
386384
387385 function test_darkenedAreaEatsAllEvents() {
tests/qmltests/tst_Shell.qml+2−3
@@ -2664,9 +2664,8 @@ Rectangle {
26642664 appDelegate.maximize();
26652665 tryCompare(appDelegate, "state", "maximized");
26662666
2667− mouseDrag(panel, panel.width/2, panel.height/2, 0, shell.height/3, Qt.LeftButton);
2668− mouseRelease(appDelegate.findChild("appWindowDecoration"));
2669− tryCompare(appDelegate, "state", "restored");
2667+ mouseDrag(panel, panel.width/2, panel.height/2, 0, shell.height/3, Qt.LeftButton, Qt.NoModifier, 100);
2668+ tryCompare(appDelegate, "state", "normal");
26702669 }
26712670
26722671 function test_fullShellModeHasNoInitialGreeter() {