@@ -298,6 +298,7 @@ Rectangle {
300 function test_art_size(data) {
300 function test_art_size(data) {
301+ wait(50) // Allow layout to settle.
301 selector.selectedIndex = data.index;
302 selector.selectedIndex = data.index;
303 if (data.hasOwnProperty("size")) {
304 if (data.hasOwnProperty("size")) {
@@ -361,6 +362,8 @@ Rectangle {
362 tryCompare(testCase.artImage, "source", "")
363 tryCompare(testCase.artImage, "source", "")
363 compare(testCase.art.visible, false)
364 compare(testCase.art.visible, false)
365+ compare(testCase.art.height, 0)
366+ compare(testCase.art.width, 0)