on xenial help sign in
Test: Add a condition for art.height being > 0
2b647b8Albert Astals
tests/qmltests/Dash/tst_Card.qml+1−1
@@ -359,7 +359,7 @@ Rectangle {
359
359
360 waitForRendering(card);
360 waitForRendering(card);
361
361
362− tryCompareFunction(function() { return testCase.summary.y === data.top() }, true);
362+ tryCompareFunction(function() { return art.height > 0 && testCase.summary.y === data.top() }, true);
363 }
363 }
364
364
365 function test_art_visibility() {
365 function test_art_visibility() {