@@ -65,12 +65,12 @@ Rectangle {
66 // verify titleLabel is visible and textLabel is anchored below it
66 // verify titleLabel is visible and textLabel is anchored below it
67 compare(titleLabel.visible, true)
67 compare(titleLabel.visible, true)
68− compare(textLabel.y, titleLabel.height)
68+ tryCompare(textLabel, "y", titleLabel.height)
70 // verify titleLabel disappears and textLabel moves up
70 // verify titleLabel disappears and textLabel moves up
71 previewTextSummary.widgetData = widgetDataNoTitle
71 previewTextSummary.widgetData = widgetDataNoTitle
72 compare(titleLabel.visible, false)
72 compare(titleLabel.visible, false)
73− compare(textLabel.y, 0)
73+ tryCompare(textLabel, "y", 0)
76 function test_see_more() {
76 function test_see_more() {