on xenial help sign in
Update test
commit3ced519a681eb055d448d65931cd23d4b9d4a7a3 authorDaniel d'Andrada <daniel.dandrada@canonical.com> dateThu 24 Nov 2016, 17:10 (10 years ago) parent3c5c71c
1 file changed+4−7
tests/qmltests/tst_Shell.qml+4−7
tests/qmltests/tst_Shell.qml+4−7
@@ -1998,14 +1998,11 @@ Rectangle {
19981998 var appRepeater = findChild(shell, "appRepeater");
19991999 var appDelegate = appRepeater.itemAt(0);
20002000
2001− var resizeArea = findChild(appDelegate, "windowResizeArea");
2002− var priv = findInvisibleChild(resizeArea, "priv");
2003−
20042001 // Make sure windows are at 0,0 or greater and they have a size that's > 0
2005− compare(priv.normalX >= 0, true)
2006− compare(priv.normalY >= 0, true)
2007− compare(priv.normalWidth > 0, true)
2008− compare(priv.normalHeight > 0, true)
2002+ compare(appDelegate.normalX >= 0, true)
2003+ compare(appDelegate.normalY >= 0, true)
2004+ compare(appDelegate.normalWidth > 0, true)
2005+ compare(appDelegate.normalHeight > 0, true)
20092006 }
20102007
20112008 // bug http://pad.lv/1431566