on xenial help sign in
Make Shell test a bit more robust
commitcfdd25f4f30992cce4b09149532c1824f922db2c authorDaniel d'Andrada <daniel.dandrada@canonical.com> dateThu 25 Jul 2013, 11:54 (13 years ago) parent7c348aa
1 file changed+2−2
tests/qmltests/tst_Shell.qml+2−2
tests/qmltests/tst_Shell.qml+2−2
@@ -154,8 +154,8 @@ Item {
154154
155155 var dash = findChild(shell, "dash");
156156 // check that dash has normal scale and opacity
157− compare(dash.contentScale, 1.0);
158− compare(dash.opacity, 1.0);
157+ tryCompare(dash, "contentScale", 1.0);
158+ tryCompare(dash, "opacity", 1.0);
159159
160160 touchFlick(shell, touchX, touchY, shell.width * 0.1, touchY,
161161 true /* beginTouch */, false /* endTouch */);