on xenial help sign in
fixed tests
commitd8a808e34a9eb3a363a42e98048d1f11fdb38dfc authorNick Dedekind <nick.dedekind@canonical.com> dateFri 30 Sep 2016, 16:45 (10 years ago) parent7fcc1fb
1 file changed+3−1
tests/qmltests/tst_Shell.qml+3−1
tests/qmltests/tst_Shell.qml+3−1
@@ -2050,6 +2050,7 @@ Rectangle {
20502050 var appRepeater = findChild(shell, "appRepeater")
20512051 var appDelegate = appRepeater.itemAt(0);
20522052 var panelButtons = findChild(shell, "panelWindowControlButtons")
2053+ verify(panelButtons)
20532054
20542055 tryCompare(appDelegate, "state", "normal");
20552056 tryCompare(panelButtons, "visible", false);
@@ -2058,7 +2059,8 @@ Rectangle {
20582059
20592060 shell.usageScenario = "phone";
20602061 waitForRendering(shell);
2061− tryCompare(panelButtons, "visible", false);
2062+ panelButtons = findChild(shell, "panelWindowControlButtons")
2063+ verify(panelButtons === null)
20622064 }
20632065
20642066 function test_lockingGreeterHidesPanelButtons() {