on xenial help sign in
Make Shell test a bit more robust
cfdd25fDaniel d'Andrada
tests/qmltests/tst_Shell.qml+2−2
@@ -154,8 +154,8 @@ Item {
154
154
155 var dash = findChild(shell, "dash");
155 var dash = findChild(shell, "dash");
156 // check that dash has normal scale and opacity
156 // check that dash has normal scale and opacity
157− compare(dash.contentScale, 1.0);
157+ tryCompare(dash, "contentScale", 1.0);
158− compare(dash.opacity, 1.0);
158+ tryCompare(dash, "opacity", 1.0);
159
159
160 touchFlick(shell, touchX, touchY, shell.width * 0.1, touchY,
160 touchFlick(shell, touchX, touchY, shell.width * 0.1, touchY,
161 true /* beginTouch */, false /* endTouch */);
161 true /* beginTouch */, false /* endTouch */);