on xenial help sign in
see if this helps with CI
commit431096ee43f1e56d4ed03ef40f453d5b43c4d3b5 authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 29 Sep 2016, 17:16 (10 years ago) parent4098517
1 file changed+3−6
tests/qmltests/Stage/tst_TabletStage.qml+3−6
tests/qmltests/Stage/tst_TabletStage.qml+3−6
@@ -586,21 +586,17 @@ Rectangle {
586586 webbrowserCheckBox.checked = true;
587587 waitUntilAppSurfaceShowsUp(webbrowserSurfaceId);
588588
589− print("browser should be focused now")
590− return;
591− wait(10000)
592589 var appDelegate = findChild(stage, "appDelegate_" + webbrowserSurfaceId);
593590 verify(appDelegate);
591+ waitForRendering(stage);
594592 compare(appDelegate.stage, ApplicationInfoInterface.MainStage);
595593
596594 dragToSideStage(webbrowserSurfaceId);
597595
598− var spreadView = findChild(stageLoader, "spreadView")
599− tryCompare(spreadView, "surfaceDragging", false);
600596 tryCompare(appDelegate, "stage", ApplicationInfoInterface.SideStage);
601597 }
602598
603− function test_unloadSideStageByDraggingFromStageStage() {
599+ function test_unloadSideStageByDraggingFromSideStage() {
604600 sideStage.showNow();
605601 WindowStateStorage.saveStage(webbrowserCheckBox.appId, ApplicationInfoInterface.SideStage)
606602 var webbrowserSurfaceId = topSurfaceList.nextId;
@@ -609,6 +605,7 @@ Rectangle {
609605
610606 var appDelegate = findChild(stage, "appDelegate_" + webbrowserSurfaceId);
611607 verify(appDelegate);
608+ waitForRendering(stage);
612609 compare(appDelegate.stage, ApplicationInfoInterface.SideStage);
613610
614611 dragToMainStage(webbrowserSurfaceId);