on xenial help sign in
fixed test
commitf3c0ec54d8e0c439a455a84d7bcd55ed86dd4492 authorAndrea Cimitan <andrea.cimitan@gmail.com> dateThu 29 Sep 2016, 15:53 (10 years ago) parent0107b91
1 file changed+2−2
tests/qmltests/Dash/tst_DashPageHeader.qml+2−2
tests/qmltests/Dash/tst_DashPageHeader.qml+2−2
@@ -173,9 +173,9 @@ Item {
173173 for (var j=0; j<paginationRepeater.count; j++) {
174174 var paginationDot = findChild(pageHeader, "paginationDots_"+j);
175175 if (i==j) {
176− compare(paginationDot.source.toString().indexOf("pagination_dot_on") > -1, true);
176+ compare(paginationDot.color, UbuntuColors.blue);
177177 } else {
178− compare(paginationDot.source.toString().indexOf("pagination_dot_off") > -1, true);
178+ compare(paginationDot.color, "#00000000");
179179 }
180180 }
181181 }