on xenial help sign in
Fix tests
commit621c2116c5514273aac468819db21397e0dc079f authorAndrea Cimitan <andrea.cimitan@gmail.com> dateThu 1 May 2014, 12:08 (13 years ago) parentb0cc75e
1 file changed+2−2
tests/qmltests/Dash/Previews/tst_PreviewTextSummary.qml+2−2
tests/qmltests/Dash/Previews/tst_PreviewTextSummary.qml+2−2
@@ -65,12 +65,12 @@ Rectangle {
6565
6666 // verify titleLabel is visible and textLabel is anchored below it
6767 compare(titleLabel.visible, true)
68− compare(textLabel.y, titleLabel.height)
68+ tryCompare(textLabel, "y", titleLabel.height)
6969
7070 // verify titleLabel disappears and textLabel moves up
7171 previewTextSummary.widgetData = widgetDataNoTitle
7272 compare(titleLabel.visible, false)
73− compare(textLabel.y, 0)
73+ tryCompare(textLabel, "y", 0)
7474 }
7575
7676 function test_see_more() {